HDFS-11466. Change dfs.namenode.write-lock-reporting-threshold-ms default from 1000ms to 5000ms. Contributed by Andrew Wang.
(cherry picked from commitd269b488a7
) (cherry picked from commit5fb785e154
) (cherry picked from commit265ddb20c3
)
This commit is contained in:
parent
c2a4ce7717
commit
33f4263345
|
@ -72,6 +72,9 @@ Release 2.7.4 - UNRELEASED
|
|||
|
||||
HDFS-11333. Print a user friendly error message when plugins are not found. (Wei-Chiu Chuang)
|
||||
|
||||
HDFS-11466. Change dfs.namenode.write-lock-reporting-threshold-ms default
|
||||
from 1000ms to 5000ms. (wang via zhz)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-10896. Move lock logging logic from FSNamesystem into FSNamesystemLock.
|
||||
|
|
|
@ -385,7 +385,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
|
|||
// event to be logged
|
||||
public static final String DFS_NAMENODE_WRITE_LOCK_REPORTING_THRESHOLD_MS_KEY =
|
||||
"dfs.namenode.write-lock-reporting-threshold-ms";
|
||||
public static final long DFS_NAMENODE_WRITE_LOCK_REPORTING_THRESHOLD_MS_DEFAULT = 1000L;
|
||||
public static final long DFS_NAMENODE_WRITE_LOCK_REPORTING_THRESHOLD_MS_DEFAULT = 5000L;
|
||||
public static final String DFS_NAMENODE_READ_LOCK_REPORTING_THRESHOLD_MS_KEY =
|
||||
"dfs.namenode.read-lock-reporting-threshold-ms";
|
||||
public static final long DFS_NAMENODE_READ_LOCK_REPORTING_THRESHOLD_MS_DEFAULT = 5000L;
|
||||
|
|
|
@ -2338,7 +2338,7 @@
|
|||
|
||||
<property>
|
||||
<name>dfs.namenode.write-lock-reporting-threshold-ms</name>
|
||||
<value>1000</value>
|
||||
<value>5000</value>
|
||||
<description>When a write lock is held on the namenode for a long time,
|
||||
this will be logged as the lock is released. This sets how long the
|
||||
lock must be held for logging to occur.
|
||||
|
|
Loading…
Reference in New Issue