[
https://issues.apache.org/jira/browse/AMBARI-20459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926364#comment-15926364
]
Sumit Mohanty commented on AMBARI-20459:
----------------------------------------
LGTM, +1
> Change required in rest address property of atlas-application properties to
> handle import-hive.sh script failure in Atlas HA mode.
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-20459
> URL: https://issues.apache.org/jira/browse/AMBARI-20459
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk, 2.5.0, 2.4.2
> Reporter: Sharmadha Sainath
> Assignee: Ayub Khan
> Fix For: 2.5.0
>
> Attachments: AMBARI-20459.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)