HDFS-12376. Enable JournalNode Sync by default. Contributed by Hanisha Koneru.

This commit is contained in:
Arpit Agarwal 2017-09-07 08:18:28 -07:00
parent 2adf8bed71
commit 5ff74167dd
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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