Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14603 Über-JIRA: HDFS RBF stabilization phase II
  3. HDFS-14653

RBF: Correct the default value for dfs.federation.router.namenode.heartbeat.enable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None

    Description

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

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

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

      Attachments

        1. HDFS-14653-01.patch
          3 kB
          Ayush Saxena
        2. HDFS-14653-02.patch
          3 kB
          Ayush Saxena

        Activity

          People

            ayushtkn Ayush Saxena
            ayushtkn Ayush Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: