Failed to find metadata store by url: kylin_metadata@hbas

崔笑星 发布于 2018/05/28 18:15
阅读 1K+
收藏 1

2018-05-28 18:12:26,008 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:java.library.path=/eyas/hbase/lib/native/Linux-amd64-64:/eyas/hadoop/lib:/eyas/hbase/lib/native/Linux-amd64-64
2018-05-28 18:12:26,008 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:java.io.tmpdir=/tmp
2018-05-28 18:12:26,008 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:java.compiler=<NA>
2018-05-28 18:12:26,010 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:os.name=Linux
2018-05-28 18:12:26,010 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:os.arch=amd64
2018-05-28 18:12:26,011 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:os.version=3.10.0-693.el7.x86_64
2018-05-28 18:12:26,011 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:user.name=root
2018-05-28 18:12:26,011 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:user.home=/root
2018-05-28 18:12:26,011 INFO  [main] zookeeper.ZooKeeper:100 : Client environment:user.dir=/eyas/kylin-2.3.0
2018-05-28 18:12:26,012 INFO  [main] zookeeper.ZooKeeper:438 : Initiating client connection, connectString=Hbase.Test:2181,Slave.Test:2181,Slave2.Test:2181 sessionTimeout=90000 watcher=hconnection-0x354fc8f00x0, quorum=Hbase.Test:2181,Slave.Test:2181,Slave2.Test:2181, baseZNode=/hbase
2018-05-28 18:12:26,032 INFO  [main-SendThread(Hbase.Test:2181)] zookeeper.ClientCnxn:975 : Opening socket connection to server Hbase.Test/192.168.200.149:2181. Will not attempt to authenticate using SASL (unknown error)
2018-05-28 18:12:26,038 INFO  [main-SendThread(Hbase.Test:2181)] zookeeper.ClientCnxn:852 : Socket connection established to Hbase.Test/192.168.200.149:2181, initiating session
2018-05-28 18:12:26,049 INFO  [main-SendThread(Hbase.Test:2181)] zookeeper.ClientCnxn:1235 : Session establishment complete on server Hbase.Test/192.168.200.149:2181, sessionid = 0x163a55c10450012, negotiated timeout = 40000
2018-05-28 18:12:26,732 DEBUG [main] hbase.HBaseConnection:181 : Using the working dir FS for HBase: hdfs://Hbase.Test:9000
2018-05-28 18:12:26,773 INFO  [main] imps.CuratorFrameworkImpl:230 : Starting
2018-05-28 18:12:26,776 INFO  [main] zookeeper.ZooKeeper:438 : Initiating client connection, connectString=Hbase.Test:2181,Slave.Test:2181,Slave2.Test:2181 sessionTimeout=120000 watcher=org.apache.curator.ConnectionState@67427b69
2018-05-28 18:12:26,777 INFO  [main-SendThread(Hbase.Test:2181)] zookeeper.ClientCnxn:975 : Opening socket connection to server Hbase.Test/192.168.200.149:2181. Will not attempt to authenticate using SASL (unknown error)
2018-05-28 18:12:26,777 INFO  [main-SendThread(Hbase.Test:2181)] zookeeper.ClientCnxn:852 : Socket connection established to Hbase.Test/192.168.200.149:2181, initiating session
2018-05-28 18:12:26,778 DEBUG [main] util.ZookeeperDistributedLock:143 : 89725@Hbase.Test trying to lock /kylin/kylin_metadata/create_htable/kylin_metadata/lock
2018-05-28 18:12:26,788 INFO  [main-SendThread(Hbase.Test:2181)] zookeeper.ClientCnxn:1235 : Session establishment complete on server Hbase.Test/192.168.200.149:2181, sessionid = 0x163a55c10450013, negotiated timeout = 40000
2018-05-28 18:12:26,791 INFO  [main-EventThread] state.ConnectionStateManager:228 : State change: CONNECTED
2018-05-28 18:12:27,814 INFO  [main] util.ZookeeperDistributedLock:155 : 89725@Hbase.Test acquired lock at /kylin/kylin_metadata/create_htable/kylin_metadata/lock
2018-05-28 18:12:27,835 DEBUG [main] hbase.HBaseConnection:337 : Creating HTable 'kylin_metadata'
2018-05-28 18:12:27,867 INFO  [main] Configuration.deprecation:1174 : hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2018-05-28 18:12:27,995 DEBUG [main] util.ZookeeperDistributedLock:223 : 89725@Hbase.Test trying to unlock /kylin/kylin_metadata/create_htable/kylin_metadata/lock
2018-05-28 18:12:28,004 INFO  [main] util.ZookeeperDistributedLock:234 : 89725@Hbase.Test released lock at /kylin/kylin_metadata/create_htable/kylin_metadata/lock
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:96)
        at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:108)
        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:90)
        ... 3 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.HTableDescriptor.addFamily(Lorg/apache/hadoop/hbase/HColumnDescriptor;)Lorg/apache/hadoop/hbase/HTableDescriptor;
        at org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:344)
        at org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:111)
        at org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:92)
        ... 8 more
2018-05-28 18:12:28,014 INFO  [close-hbase-conn] hbase.HBaseConnection:137 : Closing HBase connections...
2018-05-28 18:12:28,014 INFO  [close-hbase-conn] client.ConnectionManager$HConnectionImplementation:1830 : Closing zookeeper sessionid=0x163a55c10450012
2018-05-28 18:12:28,020 INFO  [Thread-7] zookeeper.ZooKeeper:684 : Session: 0x163a55c10450013 closed
2018-05-28 18:12:28,020 INFO  [main-EventThread] zookeeper.ClientCnxn:512 : EventThread shut down
2018-05-28 18:12:28,020 INFO  [close-hbase-conn] zookeeper.ZooKeeper:684 : Session: 0x163a55c10450012 closed
2018-05-28 18:12:28,020 INFO  [main-EventThread] zookeeper.ClientCnxn:512 : EventThread shut down
ERROR: Unknown error. Please check full log.

 

加载中
0
l
learningme

您使用的 Kylin 版本是什么?这是在启动时报的错?可以复现吗?

可以订阅并发送问题到 Apache Kylin 邮件列表,问题都会在邮件列表中讨论和解答,具体参考:http://kylin.apache.org/community/

bigbaoll
bigbaoll
您好,请问最后怎么解决的
0
bigbaoll
bigbaoll

您好,请问最后怎么解决的

OSCHINA
登录后可查看更多优质内容
返回顶部
顶部