瀏覽代碼

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

Yiqun Lin 6 年之前
父節點
當前提交
0da49642fc
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

+ 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>