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.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk, 2.5.0, 2.4.2
    • Fix Version/s: 2.5.0
    • Component/s: ambari-server
    • Labels:
      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

            • Assignee:
              ayubpathan Ayub Pathan
              Reporter:
              sharmadhas Sharmadha S

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment