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

Balancer exits if fs.defaultFS is set to a different, but semantically identical, URI from dfs.namenode.rpc-address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.0-alpha
    • None
    • balancer & mover
    • None

    Description

      The balancer determines the set of NN URIs to balance by looking at fs.defaultFS and all possible dfs.namenode.(service)rpc-address settings. If fs.defaultFS is, for example, set to "hdfs://foo.example.com:8020/" (note the trailing "/") and the rpc-address is set to "hdfs://foo.example.com:8020" (without a "/"), then the balancer will conclude that there are two NNs and try to balance both. However, since both of these URIs refer to the same actual FS instance, the balancer will exit with "java.io.IOException: Another balancer is running. Exiting ..."

      Attachments

        Activity

          People

            Unassigned Unassigned
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: