Browse Source

HDFS-14432. dfs.datanode.shared.file.descriptor.paths duplicated in hdfs-default.xml

Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 13907d847986aa14a51cc2a3cc83151f22c43781)
Puleya7 6 years ago
parent
commit
56c9171235

+ 1 - 13
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

@@ -1687,7 +1687,7 @@
     A comma-separated list of paths to use when creating file descriptors that
     A comma-separated list of paths to use when creating file descriptors that
     will be shared between the DataNode and the DFSClient.  Typically we use
     will be shared between the DataNode and the DFSClient.  Typically we use
     /dev/shm, so that the file descriptors will not be written to disk.
     /dev/shm, so that the file descriptors will not be written to disk.
-    Systems that don't have /dev/shm will fall back to /tmp by default.
+    It tries paths in order until creation of shared memory segment succeeds.
   </description>
   </description>
 </property>
 </property>
 
 
@@ -2718,18 +2718,6 @@
   </description>
   </description>
 </property>
 </property>
 
 
-<property>
-  <name>dfs.datanode.shared.file.descriptor.paths</name>
-  <value>/dev/shm,/tmp</value>
-  <description>
-    Comma separated paths to the directory on which
-    shared memory segments are created.
-    The client and the DataNode exchange information via
-    this shared memory segment.
-    It tries paths in order until creation of shared memory segment succeeds.
-  </description>
-</property>
-
 <property>
 <property>
   <name>dfs.namenode.audit.log.debug.cmdlist</name>
   <name>dfs.namenode.audit.log.debug.cmdlist</name>
   <value></value>
   <value></value>