From 0da49642fc1eb71997b1aa268583c1ba09a16687 Mon Sep 17 00:00:00 2001 From: Yiqun Lin Date: Mon, 10 Sep 2018 13:57:36 +0800 Subject: [PATCH] HDFS-13884. Improve the description of the setting dfs.image.compress. Contributed by Ryan Wu. --- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index 5f115ec081..1573582c91 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -1284,7 +1284,11 @@ dfs.image.compress false - Should the dfs image be compressed? + 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.