HDFS-12376. Enable JournalNode Sync by default. Contributed by Hanisha Koneru.
This commit is contained in:
parent
2adf8bed71
commit
5ff74167dd
|
@ -924,7 +924,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
|
|||
public static final String DFS_JOURNALNODE_KERBEROS_INTERNAL_SPNEGO_PRINCIPAL_KEY = "dfs.journalnode.kerberos.internal.spnego.principal";
|
||||
public static final String DFS_JOURNALNODE_ENABLE_SYNC_KEY =
|
||||
"dfs.journalnode.enable.sync";
|
||||
public static final boolean DFS_JOURNALNODE_ENABLE_SYNC_DEFAULT = false;
|
||||
public static final boolean DFS_JOURNALNODE_ENABLE_SYNC_DEFAULT = true;
|
||||
public static final String DFS_JOURNALNODE_SYNC_INTERVAL_KEY =
|
||||
"dfs.journalnode.sync.interval";
|
||||
public static final long DFS_JOURNALNODE_SYNC_INTERVAL_DEFAULT = 2*60*1000L;
|
||||
|
|
|
@ -3933,7 +3933,7 @@
|
|||
|
||||
<property>
|
||||
<name>dfs.journalnode.enable.sync</name>
|
||||
<value>false</value>
|
||||
<value>true</value>
|
||||
<description>
|
||||
If true, the journal nodes wil sync with each other. The journal nodes
|
||||
will periodically gossip with other journal nodes to compare edit log
|
||||
|
|
Loading…
Reference in New Issue