hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayush Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14653) RBF: Correct the default value for dfs.federation.router.namenode.heartbeat.enable
Date Mon, 15 Jul 2019 18:11:00 GMT
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message