Ver Fonte

HDFS-13884. Improve the description of the setting dfs.image.compress. Contributed by Ryan Wu.

Yiqun Lin há 6 anos atrás
pai
commit
0da49642fc

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

@@ -1284,7 +1284,11 @@
 <property>
   <name>dfs.image.compress</name>
   <value>false</value>
-  <description>Should the dfs image be compressed?
+  <description>When this value is true, the dfs image will be compressed.
+    Enabling this will be very helpful if dfs image is large since it can
+    avoid consuming a lot of network bandwidth when SBN uploads a new dfs
+    image to ANN. The compressed codec is specified by the setting
+    dfs.image.compression.codec.
   </description>
 </property>