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_KERBEROS_INTERNAL_SPNEGO_PRINCIPAL_KEY = "dfs.journalnode.kerberos.internal.spnego.principal";
|
||||||
public static final String DFS_JOURNALNODE_ENABLE_SYNC_KEY =
|
public static final String DFS_JOURNALNODE_ENABLE_SYNC_KEY =
|
||||||
"dfs.journalnode.enable.sync";
|
"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 =
|
public static final String DFS_JOURNALNODE_SYNC_INTERVAL_KEY =
|
||||||
"dfs.journalnode.sync.interval";
|
"dfs.journalnode.sync.interval";
|
||||||
public static final long DFS_JOURNALNODE_SYNC_INTERVAL_DEFAULT = 2*60*1000L;
|
public static final long DFS_JOURNALNODE_SYNC_INTERVAL_DEFAULT = 2*60*1000L;
|
||||||
|
@ -3933,7 +3933,7 @@
|
|||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>dfs.journalnode.enable.sync</name>
|
<name>dfs.journalnode.enable.sync</name>
|
||||||
<value>false</value>
|
<value>true</value>
|
||||||
<description>
|
<description>
|
||||||
If true, the journal nodes wil sync with each other. The journal nodes
|
If true, the journal nodes wil sync with each other. The journal nodes
|
||||||
will periodically gossip with other journal nodes to compare edit log
|
will periodically gossip with other journal nodes to compare edit log
|
||||||
|
Loading…
Reference in New Issue
Block a user