kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Khalil Mejdi <khalil.mejd...@gmail.com>
Subject Re: Errors in startup kylin, help me
Date Tue, 30 Jul 2019 12:19:49 GMT
Re.
I believe that there is something wrong with the slave02 node3, try restarting and then inspect
hbase log

Sent from my iPhone

> On Jul 30, 2019, at 11:32 AM, 忧郁的风 <zshxxx@126.com> wrote:
> 
> Helllo, execute command jps output follow:
> 
> Node 2:
> [root@slave01 ~]# jps
> 29216 HistoryServer
> 24866 Kafka
> 23813 Jps
> 9189 Main
> 24743 QuorumPeerMain
> 28362 RunJar
> 5899 ZooKeeperMain
> 25292 JournalNode
> 26573 HRegionServer
> 25101 DFSZKFailoverController
> 26447 ResourceManager
> 26705 HMaster
> 6228 LivyServer
> 24885 DataNode
> 3382 SparkSubmit
> 17944 Main
> 26392 NodeManager
> 24953 NameNode
> 18010 RunJar
> 29211
> 26781 JobHistoryServer
> 17950 Main
> [root@slave01 ~]#
> 
> Node 1:
> 
> 20292 spark-web-1.0-SNAPSHOT.jar
> 2981 HRegionServer
> 2789 NodeManager
> 1191 JournalNode
> 1288 DataNode
> 10379 Main
> 4396
> 10381 Main
> 2990 HMaster
> 4430
> 9648 jar
> 1459 NameNode
> 2804 RunJar
> 31417 Jps
> 1178 DFSZKFailoverController
> 1180 Kafka
> 1053 QuorumPeerMain
> [root@master ~]#
> 
> Node 3:
> 
> [root@slave02 ~]# jps
> 2944 Main
> 18790 Kafka
> 8296 Main
> 18793 DataNode
> 19946 HRegionServer
> 21483 RunJar
> 2508 Main
> 1485 Main
> 12142 Jps
> 19823 ResourceManager
> 18576 QuorumPeerMain
> 19888 NodeManager
> 22994 Bootstrap
> 2515 Main
> 21495 RunJar
> 23004
> 18813 JournalNode
> 
> 
> 
> 
> At 2019-07-30 18:08:22, "Khalil Mejdi" <khalil.mejdi97@gmail.com> wrote:
> Hello,
> As I can understand, there is something wrong with HBase,
> Open terminal and run command jps and let me see the output
> 
> 
> 
>> On Tue, Jul 30, 2019 at 10:47 AM 忧郁的风 <zshxxx@126.com> wrote:
>> Hello everyone. 
>>     When I installed kylin, I found an error, but I couldn't find a way to solve
it. The following is my installation environment. When I started kylin, the following error
occurred:
>> cdh 5.15.0
>> Hadoop 2.6.0
>> Hive 1.1.0
>> HBase 1.1.3
>> Spark 2.2.0
>> 
>> The installation package I downloaded is apache-kylin-2.1.0-bin-cdh57.tar.gz
>> 
>> 
>> 2019-07-15 17:42:04,490 INFO  [main-SendThread(master.peanut.test.com:2181)] zookeeper.ClientCnxn:975
: Opening socket connection to server master.peanut.test.com/172.18.206.7:2181. Will not attempt
to authenticate using SASL (unknown error)
>> 2019-07-15 17:42:04,492 INFO  [main-SendThread(master.peanut.test.com:2181)] zookeeper.ClientCnxn:852
: Socket connection established to master.peanut.test.com/172.18.206.7:2181, initiating session
>> 2019-07-15 17:42:04,495 DEBUG [main] util.ZookeeperDistributedLock:142 : 6848@slave01.peanut.test.com
trying to lock /kylin/kylin_metadata/create_htable/kylin_metadata/lock
>> 2019-07-15 17:42:04,528 INFO  [main-SendThread(master.peanut.test.com:2181)] zookeeper.ClientCnxn:1235
: Session establishment complete on server master.peanut.test.com/172.18.206.7:2181, sessionid
= 0x16b64bda4232afb, negotiated timeout = 60000
>> 2019-07-15 17:42:04,536 INFO  [main-EventThread] state.ConnectionStateManager:228
: State change: CONNECTED
>> Exception in thread "main" java.lang.IllegalArgumentException: Failed to find metadata
store by url: kylin_metadata@hbase
>> 	at org.apache.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:89)
>> 	at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:101)
>> 	at org.apache.kylin.rest.service.AclTableMigrationTool.checkIfNeedMigrate(AclTableMigrationTool.java:94)
>> 	at org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigrationCLI.java:41)
>> Caused by: java.lang.reflect.InvocationTargetException
>> 	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.kylin.common.persistence.ResourceStore.createResourceStore(ResourceStore.java:83)
>> 	... 3 more
>> Caused by: java.lang.RuntimeException: Error while peeking at /kylin/kylin_metadata/create_htable/kylin_metadata/lock
>> 	at org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.peekLock(ZookeeperDistributedLock.java:204)
>> 	at org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.isLockedByMe(ZookeeperDistributedLock.java:215)
>> 	at org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:329)
>> 	at org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:110)
>> 	at org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:91)
>> 	... 8 more
>> Caused by: com.aliyun.phoenix.shaded.org.apache.zookeeper.KeeperException$NoNodeException:
KeeperErrorCode = NoNode for /kylin/kylin_metadata/create_htable/kylin_metadata/lock
>> 	at com.aliyun.phoenix.shaded.org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>> 	at com.aliyun.phoenix.shaded.org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>> 	at com.aliyun.phoenix.shaded.org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>> 	at org.apache.curator.framework.imps.GetDataBuilderImpl$4.call(GetDataBuilderImpl.java:302)
>> 	at org.apache.curator.framework.imps.GetDataBuilderImpl$4.call(GetDataBuilderImpl.java:291)
>> 	at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:109)
>> 	at org.apache.curator.framework.imps.GetDataBuilderImpl.pathInForeground(GetDataBuilderImpl.java:288)
>> 	at org.apache.curator.framework.imps.GetDataBuilderImpl.forPath(GetDataBuilderImpl.java:279)
>> 	at org.apache.curator.framework.imps.GetDataBuilderImpl.forPath(GetDataBuilderImpl.java:41)
>> 	at org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.peekLock(ZookeeperDistributedLock.java:199)
>> 	... 12 more
>> 2019-07-15 17:42:04,562 INFO  [Thread-1] client.ConnectionManager$HConnectionImplementation:1717
: Closing zookeeper sessionid=0x36b64bda3ef2b8a
>> 2019-07-15 17:42:04,588 INFO  [Thread-1] zookeeper.ZooKeeper:684 : Session: 0x36b64bda3ef2b8a
closed
>> 2019-07-15 17:42:04,588 INFO  [main-EventThread] zookeeper.ClientCnxn:512 : EventThread
shut down
>> 2019-07-15 17:42:04,592 INFO  [Thread-6] zookeeper.ZooKeeper:684 : Session: 0x16b64bda4232afb
closed
>> 2019-07-15 17:42:04,592 INFO  [main-EventThread] zookeeper.ClientCnxn:512 : EventThread
shut down
>> ERROR: Unknown error. Please check full log.
>> 
>> Attached is the complete log. Please help me, how to solve it. Thank you
>> 
>>  
>> 
>> 
>> 
>>  
>> 
> 
> 
>  

Mime
View raw message