File upload fails to upload in NFS-MountDir.
Problem: While uploading files to NFS-MountDir, the following error is reported in the DataNode log file:
INFO org.apache.hadoop.hdfs.nfs.nfs3.OpenFileCtx: requesed offset=4980736 and current filesize=0
Workaround: On some environments, especially for virtualized environments, copying large files of size close to 1GB fails intermittently. This issue is expected to be addressed in the upcoming release.
Use of init.d scripts for starting or stopping Hadoop services, is not recommended.