Ayush Saxena created HDFS-14653:
-----------------------------------

             Summary: RBF: Correct the default value for 
dfs.federation.router.namenode.heartbeat.enable
                 Key: HDFS-14653
                 URL: https://issues.apache.org/jira/browse/HDFS-14653
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Ayush Saxena
            Assignee: Ayush Saxena


dfs.federation.router.namenode.heartbeat.enable is suppose to take the value of 
dfs.federation.router.heartbeat.enable when it isn't explicitly specified. by ::


{noformat}
    boolean isRouterHeartbeatEnabled = conf.getBoolean(
        RBFConfigKeys.DFS_ROUTER_HEARTBEAT_ENABLE,
        RBFConfigKeys.DFS_ROUTER_HEARTBEAT_ENABLE_DEFAULT);
    boolean isNamenodeHeartbeatEnable = conf.getBoolean(
        RBFConfigKeys.DFS_ROUTER_NAMENODE_HEARTBEAT_ENABLE,
        isRouterHeartbeatEnabled);
{noformat}

But since now RBF-Defaults are added by default, this logic doesn't hold, and 
the value defaults to true.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to