Hi Kolgan:

What kind of your Hadoop 3 env is it?

HDP3? CDH6? Or community version?

Regards

Lijun Cao

> 在 2018年12月27日,20:53,Kolgan <kolgan_...@163.com> 写道:
> 
> Hi!
>    Thanks for reading this email.
>    Today I run apache-kylin on my computer(ubuntu 16.04) and failed to start 
> it. The envirnoment on my computer are: Hadoop 3.0.3,Hive 3.1.1(I tried 1.2.2 
> first but to start), HBase 2.0.3,kylin 2.5.2-hadoop3. Hadoop,hive and Hbase 
> work fine,but when I shelled into Hbase I can't find anything there. 
> zookeeper works fine too.and the tracelog is here:
>      你好,今天在ubuntu 16.04上启动kylin的时候报错了,我机器上的环境是:Hadoop 3.03,Hive 3.1.1,Hbase 
> 2.0.3,kylin的版本是2.5.2-hadoop3。hadoop,hive和hbase都可以正常的存和读数据,但是启动kylin后登陆到HBase中无法查到任何数据。出错的日志如下,之前google看到有人发送过同样的日志,回复是安装kylin2.5.0-hadoop3的版本,但是我下载之后却依然没有什么用
> 
> 2018-12-27 20:30:26,023 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:java.library.path=/root/hadoop/hadoop-3.0.3/lib/native
> 2018-12-27 20:30:26,023 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:java.io.tmpdir=/tmp
> 2018-12-27 20:30:26,023 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:java.compiler=<NA>
> 2018-12-27 20:30:26,024 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:os.name=Linux
> 2018-12-27 20:30:26,024 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:os.arch=amd64
> 2018-12-27 20:30:26,024 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:os.version=4.4.0-116-generic
> 2018-12-27 20:30:26,024 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:user.name=root
> 2018-12-27 20:30:26,025 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client environment:user.home=/root
> 2018-12-27 20:30:26,025 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:100 : 
> Client 
> environment:user.dir=/root/hadoop/kylin/hdp3/apache-kylin-2.5.2-bin-hadoop3/bin
> 2018-12-27 20:30:26,027 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:438 : 
> Initiating client connection, connectString=192.168.40.203:2181 
> sessionTimeout=90000 
> watcher=org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$$Lambda$12/120173009@773addda
> 2018-12-27 20:30:26,043 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008-SendThread(192.168.40.203:2181)]
>  zookeeper.ClientCnxn:1032 : Opening socket connection to server 
> 192.168.40.203/192.168.40.203:2181. Will not attempt to authenticate using 
> SASL (unknown error)
> 2018-12-27 20:30:26,048 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008-SendThread(192.168.40.203:2181)]
>  zookeeper.ClientCnxn:876 : Socket connection established to 
> 192.168.40.203/192.168.40.203:2181, initiating session
> 2018-12-27 20:30:26,072 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008-SendThread(192.168.40.203:2181)]
>  zookeeper.ClientCnxn:1299 : Session establishment complete on server 
> 192.168.40.203/192.168.40.203:2181, sessionid = 0x167ef5fb58c0017, negotiated 
> timeout = 90000
> 2018-12-27 20:30:26,716 DEBUG [main] hbase.HBaseConnection:181 : Using the 
> working dir FS for HBase: hdfs://192.168.40.203:9000
> 2018-12-27 20:30:26,769 INFO  [main] utils.Compatibility:41 : Running in 
> ZooKeeper 3.4.x compatibility mode
> 2018-12-27 20:30:26,791 INFO  [main] imps.CuratorFrameworkImpl:284 : Starting
> 2018-12-27 20:30:26,796 INFO  [main] zookeeper.ZooKeeper:438 : Initiating 
> client connection, connectString=192.168.40.203:2181 sessionTimeout=120000 
> watcher=org.apache.curator.ConnectionState@342726f1
> 2018-12-27 20:30:26,797 INFO  [main-SendThread(192.168.40.203:2181)] 
> zookeeper.ClientCnxn:1032 : Opening socket connection to server 
> 192.168.40.203/192.168.40.203:2181. Will not attempt to authenticate using 
> SASL (unknown error)
> 2018-12-27 20:30:26,797 INFO  [main-SendThread(192.168.40.203:2181)] 
> zookeeper.ClientCnxn:876 : Socket connection established to 
> 192.168.40.203/192.168.40.203:2181, initiating session
> 2018-12-27 20:30:26,802 INFO  [main] imps.CuratorFrameworkImpl:326 : Default 
> schema
> 2018-12-27 20:30:26,804 DEBUG [main] util.ZookeeperDistributedLock:143 : 
> 863724@u203 trying to lock 
> /kylin/kylin_metadata/create_htable/kylin_metadata/lock
> 2018-12-27 20:30:26,806 INFO  [main-SendThread(192.168.40.203:2181)] 
> zookeeper.ClientCnxn:1299 : Session establishment complete on server 
> 192.168.40.203/192.168.40.203:2181, sessionid = 0x167ef5fb58c0018, negotiated 
> timeout = 90000
> 2018-12-27 20:30:26,810 INFO  [main-EventThread] 
> state.ConnectionStateManager:237 : 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: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.curator.framework.api.CreateBuilder.creatingParentsIfNeeded()Lorg/apache/curator/framework/api/ProtectACLCreateModePathAndBytesable;
>       at 
> org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.lock(ZookeeperDistributedLock.java:146)
>       at 
> org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.lock(ZookeeperDistributedLock.java:167)
>       at 
> org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:329)
>       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-12-27 20:30:26,834 INFO  [Curator-Framework-0] 
> imps.CuratorFrameworkImpl:924 : backgroundOperationsLoop exiting
> 2018-12-27 20:30:26,834 INFO  [close-hbase-conn] hbase.HBaseConnection:137 : 
> Closing HBase connections...
> 2018-12-27 20:30:26,835 INFO  [close-hbase-conn] 
> zookeeper.ReadOnlyZKClient:344 : Close zookeeper connection 0x5149f008 to 
> 192.168.40.203:2181
> 2018-12-27 20:30:26,845 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008] zookeeper.ZooKeeper:684 : 
> Session: 0x167ef5fb58c0017 closed
> 2018-12-27 20:30:26,846 INFO  
> [ReadOnlyZKClient-192.168.40.203:2181@0x5149f008-EventThread] 
> zookeeper.ClientCnxn:519 : EventThread shut down for session: 
> 0x167ef5fb58c0017
> 2018-12-27 20:30:26,853 INFO  [Thread-7] zookeeper.ZooKeeper:684 : Session: 
> 0x167ef5fb58c0018 closed
> 2018-12-27 20:30:26,853 INFO  [main-EventThread] zookeeper.ClientCnxn:519 : 
> EventThread shut down for session: 0x167ef5fb58c0018
> ERROR: Unknown error. Please check full log.
> 
> Nothing in Hbase and nodes of zookeepers:
> 
> 
>    Hoping for your reply^_^
>    Thanks and best regard
>     Kolgan  From China

Reply via email to