chaitali borole created ATLAS-3561:
--------------------------------------

             Summary: Atlas start fails in embedded-hbase mode with zookeeper 
error
                 Key: ATLAS-3561
                 URL: https://issues.apache.org/jira/browse/ATLAS-3561
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 3.0.0
            Reporter: chaitali borole
            Assignee: chaitali borole
             Fix For: 3.0.0


After compiling Atlas with {{mvn clean package -Pdist,embedded-hbase-solr}}
 and starting Atlas with  embedded services hbase, solr and kafka using 
{{atlas_start.py}}, the Atlas start fails with below error in 
{{application.log}}
{noformat}
2019-12-09 16:01:28,839 INFO  - [main:] ~ Not running setup per configuration 
atlas.server.run.setup.on.start. (SetupSteps$SetupRequired:189)
2019-12-09 16:01:32,786 WARN  - 
[ReadOnlyZKClient-localhost:2181@0x0fa5f81c-SendThread(localhost:2181):] ~ 
Session 0x16eea36b27b0003 for server null, unexpected error, closing socket 
connection and attempting reconnect (ClientCnxn$SendThread:1102)
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:1081)
2019-12-09 16:01:32,889 WARN  - [ReadOnlyZKClient-localhost:2181@0x0fa5f81c:] ~ 
0x0fa5f81c to localhost:2181 failed for get of /hbase/meta-region-server, code 
= CONNECTIONLOSS, retries = 1 (ReadOnlyZKClient$ZKTask$1:183)
2019-12-09 16:01:34,004 WARN  - 
[ReadOnlyZKClient-localhost:2181@0x0fa5f81c-SendThread(localhost:2181):] ~ 
Session 0x16eea36b27b0003 for server null, unexpected error, closing socket 
connection and attempting reconnect (ClientCnxn$SendThread:1102)
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:1081)
{noformat}
 

*Workaround*

Adding below property in {{hbase-site.xml.template}} and

running  {{mvn clean package -Pdist,embedded-hbase-solr}} the issue is resolved.

 
{code:none}
<property>
 <name>hbase.unsafe.stream.capability.enforce</name>
 <value>false</value>
 </property>
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to