Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19282

HA HDFS propreties may be written in different case, which prevents operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      In the command json file the hostname is in lower case, while in HA mode the
      hdfs-site property dfs.namenode.rpc-address.

      {dfs_ha_nameservices}.{nn_id} may
      have upper case parts, which prevents the /common-
      services/HDFS/<version>/package/scripts/params_linux.py file at line 300 from
      identifying the namenode_id, as it tries to find the hostname in the proprety,
      and their case doesn't match.

      Either it should be fixed that the dfs.namenode.rpc-
      address.{dfs_ha_nameservices}

      .

      {nn_id}

      should be always in lower case too or
      the params_linux.py should identify the namenode_id by trying to find the
      hostname in the property ignoring case.

      Attachments

        1. AMBARI-19282.patch
          3 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: