You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Ayub Khan (JIRA)" <ji...@apache.org> on 2017/03/15 13:09:42 UTC

[jira] [Comment Edited] (AMBARI-20459) Change required in rest address property of atlas-application properties to handle import-hive.sh script failure in Atlas HA mode.

    [ https://issues.apache.org/jira/browse/AMBARI-20459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926106#comment-15926106 ] 

Ayub Khan edited comment on AMBARI-20459 at 3/15/17 1:09 PM:
-------------------------------------------------------------

[~sumitmohanty]/[~mahadev] / [~madhan.neethiraj] Please review the patch.

To give some context, atlas.rest.address property in HA env should have comma separated atlas end point urls. The changes needed to handle this requirement is done as part of ATLAS-1108. But the ambari requirement to generate the comma separated urls was missing and this patch should address the ambari requirement as well. Please review.


was (Author: ayubkhan):
[~sumitmohanty]/[~mahadev] Please review the patch.

> 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
>         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)