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

Hadoop QA commented on AMBARI-21902:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12885790/AMBARI-21902.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:red}-1 core tests{color}.  The test build failed in 
[ambari-server|https://builds.apache.org/job/Ambari-trunk-test-patch/12163//artifact/patch-work/testrun_ambari-server.txt]
 

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/12163//console

This message is automatically generated.

> Ambari is setting "atlas.graph.storage.hostname" to hbase hostname, instead 
> it should set the zookeeper quorum.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21902
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21902
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0, 2.6.0
>            Reporter: Ayub Pathan
>            Assignee: Ayub Pathan
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-21902.patch
>
>
> Atlas is connecting to a host where zookeeper is not installed, thinking that 
> there is zookeeper instance running on that host. Ambari is setting this 
> property "atlas.graph.storage.hostname" to hbase hostname, instead it should 
> set to zookeeper quorum. Since Hbase is managed by zookeeper, this setting 
> should be fine.
> *Please note, this issue will not be seen if Hbase master and zookeeper are 
> hosted on the same node.*
> To explain in detail:
> *  There is a configuration property(atlas.graph.storage.hostname) in Atlas 
> which defines where Hbase storage is installed.
> * This property is managed by Ambari and it is set to the hostname where 
> HBase is installed.
> * When Atlas starts, it initializes the connection with HBase using 
> HBaseStoreManger class, which overrides “hbase.zookeeper.quorum” property 
> value with “atlas.graph.storage.hostname” property value.
> * If there is zookeeper node running on the same host as HBase host, then the 
> HBase initialization will succeed, everything is fine.
> *  If there is no zookeeper node is running on the same host as HBase, then 
> the above zookeeper connection issue can be observed, which will eventually 
> result in Atlas failure.
> To fix this, “atlas.graph.storage.hostname” config property in Atlas(managed 
> by Ambari) can be set to the cluster zookeeper quorum value. Since HBase is 
> managed by Zookeeper, this setting should be fine.
>  
> Fix can be done here: 
> https://github.com/apache/ambari/blob/branch-2.6/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java#L2734
> {noformat}
> 2017-09-06 23:17:20,518 INFO  - [main:] ~ Instantiated HBase compatibility 
> layer supporting runtime HBase version 1.1.2.2.6.3.0-61: 
> com.thinkaurelius.titan.diskstorage.hbase.HBaseCompat1_1 
> (HBaseCompatLoader:69)
> 2017-09-06 23:17:20,560 INFO  - [main:] ~ Copied host list from 
> root.storage.hostname to hbase.zookeeper.quorum: 
> ctr-e134-1499953498516-130328-01-000003.hwx.site (HBaseStoreManager:320)
> 2017-09-06 23:17:20,666 INFO  - [main:] ~ Process 
> identifier=hconnection-0x80b122b connecting to ZooKeeper 
> ensemble=ctr-e134-1499953498516-130328-01-000003.hwx.site:2181 
> (RecoverableZooKeeper:120)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to