Ashi Singla created ATLAS-4494:
----------------------------------

             Summary: Atlas start fails in embedded-hbase mode 
                 Key: ATLAS-4494
                 URL: https://issues.apache.org/jira/browse/ATLAS-4494
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core, hbase-integration
    Affects Versions: 2.2.0
            Reporter: Ashi Singla
         Attachments: Screenshot 2021-11-23 at 6.21.22 PM.png

Facing issues while starting atlas with hbase embedded mode. Getting the below 
exceptions. We opted for the defined solution provided in one of the other 
issues 
https://issues.apache.org/jira/browse/ATLAS-3561?jql=project%20%3D%20ATLAS%20AND%20text%20~%20hbase
 but it is also not working for us. We tried other resolutions as provided by 
different blogs and articles related to this but nothing is working and still 
facing the same issue.

 

########################################################################################

                               2021-11-23 16:26:17,498 INFO  - [main:] ~ 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (Atlas:216)

2021-11-23 16:26:17,500 INFO  - [main:] ~ Server starting with TLS ? false on 
port 21000 (Atlas:217)

2021-11-23 16:26:17,500 INFO  - [main:] ~ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
(Atlas:218)

2021-11-23 16:26:18,209 INFO  - [main:] ~ No authentication method configured.  
Defaulting to simple authentication (LoginProcessor:102)

2021-11-23 16:26:18,280 WARN  - [main:] ~ Unable to load native-hadoop library 
for your platform... using builtin-java classes where applicable 
(NativeCodeLoader:60)

2021-11-23 16:26:18,313 INFO  - [main:] ~ Logged in user root (auth:SIMPLE) 
(LoginProcessor:77)

2021-11-23 16:26:18,745 INFO  - [main:] ~ Not running setup per configuration 
atlas.server.run.setup.on.start. (SetupSteps$SetupRequired:189)

2021-11-23 16:26:20,918 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 1 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:22,017 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 2 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:23,118 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 3 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:24,219 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 4 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:25,320 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 5 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:26,421 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 6 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:27,522 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 7 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:28,623 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 8 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:29,724 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 9 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:30,825 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 10 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:31,927 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 11 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:33,028 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 12 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:34,129 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 13 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:35,230 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 14 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:36,332 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 15 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:37,433 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 16 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:38,534 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 17 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:39,635 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 18 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:40,735 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 19 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:41,837 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 20 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:42,937 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 21 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:44,038 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 22 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:45,139 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 23 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:46,241 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 24 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:47,342 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 25 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:48,443 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 26 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:49,544 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 27 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:50,645 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 28 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:51,747 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 29 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:52,847 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 30 (ReadOnlyZKClient$ZKTask$1:192)

2021-11-23 16:26:53,948 WARN  - [ReadOnlyZKClient-localhost:2181@0x026582ca:] ~ 
0x026582ca to localhost:2181 failed for get of /hbase/hbaseid, code = 
CONNECTIONLOSS, retries = 30, give up (ReadOnlyZKClient$ZKTask$1:196)

2021-11-23 16:26:53,959 WARN  - [main:] ~ Retrieve cluster id failed 
(ConnectionImplementation:576)

java.util.concurrent.ExecutionException: 
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = 
ConnectionLoss for /hbase/hbaseid

        at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)

        at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)

        at 
org.apache.hadoop.hbase.client.ConnectionImplementation.retrieveClusterId(ConnectionImplementation.java:574)

        at 
org.apache.hadoop.hbase.client.ConnectionImplementation.<init>(ConnectionImplementation.java:307)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at 
org.apache.hadoop.hbase.client.ConnectionFactory.lambda$createConnection$0(ConnectionFactory.java:230)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.security.auth.Subject.doAs(Subject.java:422)

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to