Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5227

Namenode.getAddress() should return namenode rpc-address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.1.1-beta, 3.0.0-alpha1
    • None
    • None
    • None

    Description

      Currently, Namenode.getAddress(Configuration conf) will return default file system address as its result. The correct behavior should be returning config value of "dfs.namenode.rpc-address" if it presents in the configurations. Otherwise namenode will fail to start if the default file system is configured to another file system other than the one running in the cluster. We have a similar issue in 1.0 code base. The JIRA is HDFS-4320. The previous JIRA is closed and we cannot open it. Thus create a new one to track the issue in trunk.

      Attachments

        1. HDFS-5227-trunk.patch
          1 kB
          Chuan Liu

        Activity

          People

            chuanliu Chuan Liu
            chuanliu Chuan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: