You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ayub Pathan (JIRA)" <ji...@apache.org> on 2017/07/11 15:18:00 UTC

[jira] [Created] (ATLAS-1941) HBaseStoreManager is overwriting the hbase.zookeeper.quorum value to incorrect one

Ayub Pathan created ATLAS-1941:
----------------------------------

             Summary: HBaseStoreManager is overwriting the hbase.zookeeper.quorum value to incorrect one
                 Key: ATLAS-1941
                 URL: https://issues.apache.org/jira/browse/ATLAS-1941
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.9-incubating
            Reporter: Ayub Pathan
             Fix For: 0.9-incubating


While Atlas startup, HBaseStoreManager is copying host list from root.storage.hostname to hbase.zookeeper.quorum, which has one incorrect zookeeper host as well.

{noformat}
2017-07-11 12:13:51,341 INFO  - [main:] ~ Not running setup per configuration atlas.server.run.setup.on.start. (SetupSteps:189)
2017-07-11 12:13:52,332 INFO  - [main:] ~ JSR-330 'javax.inject.Inject' annotation found and supported for autowiring (AutowiredAnnotationBeanPostProcessor:155)
2017-07-11 12:13:53,038 INFO  - [main:] ~ Instantiated HBase compatibility layer supporting runtime HBase version 1.1.2.2.6.2.0-71: com.thinkaurelius.titan.diskstorage.hbase.HBaseCompat1_1 (HBaseCompatLoader:69)
2017-07-11 12:13:53,108 INFO  - [main:] ~ Copied host list from root.storage.hostname to hbase.zookeeper.quorum: ctr-e133-1493418528701-179285-01-000005.hwx.site,ctr-e133-1493418528701-179285-01-000004.hwx.site,ctr-e133-1493418528701-179285-01-000002.hwx.site (HBaseStoreManager:320)
{noformat}

In the above log, the correct zookeeper hosts are ctr-e133-1493418528701-179285-01-000005.hwx.site,ctr-e133-1493418528701-179285-01-000002.hwx.site. But, as we can see HBaseStoreManager is adding ctr-e133-1493418528701-179285-01-000004.hwx.site as well which is incorrect.


As an outcome of this, zookeeper connection to this host fails.
{noformat}
2017-07-11 12:13:53,399 INFO  - [main-SendThread(ctr-e133-1493418528701-179285-01-000004.hwx.site:2181):] ~ Opening socket connection to server ctr-e133-1493418528701-179285-01-000004.hwx.site/172.27.9.2:2181. Will attempt to SASL-authenticate using Login Context section 'Client' (ClientCnxn:1019)
2017-07-11 12:13:53,412 WARN  - [main-SendThread(ctr-e133-1493418528701-179285-01-000004.hwx.site:2181):] ~ Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (ClientCnxn:1146)
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125)
{noformat}



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