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

Change required in rest address property of atlas-application properties to handle import-hive.sh script failure in Atlas HA mode.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk, 2.5.0, 2.4.2
    • 2.5.0
    • ambari-server
    • None

    Description

      atlas-application properties file hive conf directory has a property named "atlas.rest.address" . It has ACTIVE Atlas server's address which is used by the script import-hive.sh to import tables from hive to Atlas. In HA mode ,when failover happens , PASSIVE host becomes ACTIVE and the atlas.rest.address is not updated. So, import fails on running the script.

      If "atlas.rest.address" has list of all Atlas hosts separated by comma , import-hive.sh looks for all the hosts in the list for the ACTIVE one and makes call to the correct ACTIVE server.

      Hence ,change is required to make value of atlas.rest.address as list of Atlas hosts.

      Attachments

        1. AMBARI-20459.patch
          3 kB
          Ayub Pathan

        Activity

          People

            ayubpathan Ayub Pathan
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: