[
https://issues.apache.org/jira/browse/ATLAS-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414817#comment-15414817
]
Nixon Rodrigues edited comment on ATLAS-1108 at 8/10/16 6:46 AM:
-----------------------------------------------------------------
[~ayubkhan], I tested your patch,
After the applying patch & packing, i uploaded
atlas-client-0.8-incubating-SNAPSHOT.jar &
hive-bridge-0.8-incubating-SNAPSHOT.jar in
atlas/hook/hive/atlas-hive-plugin-impl/ directory
i added one two urls values first wrong & second valid for
*atlas.rest.address* property in
/etc/hive/2.5.0.0-1147/0/atlas-application.properties
{noformat}
atlas.rest.address=http://localhost:21003/,http://tr-atlas-0508-1.openstacklocal:21000/
{noformat}
The import was successfully with one java.net.ConnectException: Connection
refused exception for wrong instance url.
{noformat}
2016-08-10 04:45:20,580 DEBUG - [main:] ~ API
http://tr-atlas-0508-1.openstacklocal:21000/api/atlas/entities/049c035e-9dcf-4445-aa85-9c73c0fd64ca
returned status 200 (AtlasClient:1191)
2016-08-10 04:45:20,581 INFO - [main:] ~ Successfully imported all 2 tables
from test (HiveMetaStoreBridge:261)
{noformat}
was (Author: nixonrodrigues):
@Ayub, I tested your patch,
After the applying patch & packing, i uploaded
atlas-client-0.8-incubating-SNAPSHOT.jar &
hive-bridge-0.8-incubating-SNAPSHOT.jar in
atlas/hook/hive/atlas-hive-plugin-impl/ directory
i added one two urls values first wrong & second valid for
*atlas.rest.address* property in
/etc/hive/2.5.0.0-1147/0/atlas-application.properties
{noformat}
atlas.rest.address=http://localhost:21003/,http://tr-atlas-0508-1.openstacklocal:21000/
{noformat}
The import was successfully with one java.net.ConnectException: Connection
refused exception for wrong instance url.
{noformat}
2016-08-10 04:45:20,580 DEBUG - [main:] ~ API
http://tr-atlas-0508-1.openstacklocal:21000/api/atlas/entities/049c035e-9dcf-4445-aa85-9c73c0fd64ca
returned status 200 (AtlasClient:1191)
2016-08-10 04:45:20,581 INFO - [main:] ~ Successfully imported all 2 tables
from test (HiveMetaStoreBridge:261)
{noformat}
> In Atlas HA mode , import-hive.sh in Passive instance fails.
> ------------------------------------------------------------
>
> Key: ATLAS-1108
> URL: https://issues.apache.org/jira/browse/ATLAS-1108
> Project: Atlas
> Issue Type: Bug
> Reporter: Sharmadha Sainath
> Assignee: Ayub Khan
> Priority: Critical
> Attachments: ATLAS-1108-1.patch, ATLAS-1108.patch
>
>
> rest address configuration in atlas-application.properties is not present in
> hive 's conf directory . Hence , in passive instance , makes a call to
> localhost and import-hive.sh fails.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)