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

Improve error message for Haadmin when multiple name service IDs are configured

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: tools
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In HDFS-6376 we supported a feature for distcp that allows multiple NameService IDs to be specified so that we can copy from two HA enabled clusters.

      That confuses haadmin command since we have a check in DFSUtil#getNamenodeServiceAddr which fails if it finds more than 1 name in that property.

        Attachments

        1. HDFS-9112.004.patch
          2 kB
          Anu Engineer
        2. HDFS-9112.003.patch
          2 kB
          Anu Engineer
        3. HDFS-9112.002.patch
          1 kB
          Anu Engineer
        4. HDFS-9112.001.patch
          7 kB
          Anu Engineer

          Activity

            People

            • Assignee:
              anu Anu Engineer
              Reporter:
              anu Anu Engineer
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: