Browse Source

HDFS-9274. Default value of dfs.datanode.directoryscan.throttle.limit.ms.per.sec should be consistent. Contributed by Yi Liu.

Change-Id: Iafa2efb8f2eafd193b417690cc8794080b9d745b
Zhe Zhang 9 years ago
parent
commit
59ce780d53

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -2095,6 +2095,9 @@ Release 2.8.0 - UNRELEASED
 
 
     HDFS-3059. ssl-server.xml causes NullPointer. (Xiao Chen via wang)
     HDFS-3059. ssl-server.xml causes NullPointer. (Xiao Chen via wang)
 
 
+    HDFS-9274. Default value of dfs.datanode.directoryscan.throttle.limit.ms.per.sec
+    should be consistent. (Yi Liu via zhz)
+
 Release 2.7.2 - UNRELEASED
 Release 2.7.2 - UNRELEASED
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

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

@@ -637,7 +637,7 @@
 
 
 <property>
 <property>
   <name>dfs.datanode.directoryscan.throttle.limit.ms.per.sec</name>
   <name>dfs.datanode.directoryscan.throttle.limit.ms.per.sec</name>
-  <value>0</value>
+  <value>1000</value>
   <description>The report compilation threads are limited to only running for
   <description>The report compilation threads are limited to only running for
   a given number of milliseconds per second, as configured by the
   a given number of milliseconds per second, as configured by the
   property. The limit is taken per thread, not in aggregate, e.g. setting
   property. The limit is taken per thread, not in aggregate, e.g. setting