Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0
-
Reviewed
Description
As per the document
http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html
we can configure
nfs.dump.dir
as nfs file dump directory, but using this configuration in hdfs-site.xml doesn't work and when nfs gateway is started, default location is used i.e \tmp\.hdfs-nfs
The reason being the key expected in NfsConfigKeys.java
public static final String DFS_NFS_FILE_DUMP_DIR_KEY = "nfs.file.dump.dir";
we can change it to nfs.dump.dir instead