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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • tools
    • None
    • 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.001.patch
          7 kB
          Anu Engineer
        2. HDFS-9112.002.patch
          1 kB
          Anu Engineer
        3. HDFS-9112.003.patch
          2 kB
          Anu Engineer
        4. HDFS-9112.004.patch
          2 kB
          Anu Engineer

        Activity

          People

            aengineer Anu Engineer
            aengineer Anu Engineer
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: