[ 
https://issues.apache.org/jira/browse/KYLIN-3940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813180#comment-16813180
 ] 

praveenece commented on KYLIN-3940:
-----------------------------------

Hi Chao Long,

hadoop-3.1.1
apache-hive-2.3.4-bin
hbase-2.1.1
apache-kylin-2.5.2-bin-hadoop3

Now I tried with above environment, kylin is stated but i unable to load 
metadata from hbase to kylin getting this below error in kylin UI.

org.apache.hadoop.hive.metastore.HiveMetaStoreClint.<init>(Lorg/apache/hadoop/conf/configuration;)V

2019-04-09 15:02:44,979 DEBUG [http-nio-7070-exec-9] common.KylinConfig:327 : 
KYLIN_CONF property was not set, will seek KYLIN_HOME env variable
2019-04-09 15:02:50,071 ERROR [http-nio-7070-exec-6] 
controller.TableController:190 : 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(Lorg/apache/hadoop/conf/Configuration;)V
java.lang.NoSuchMethodError: 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(Lorg/apache/hadoop/conf/Configuration;)V
        at 
org.apache.kylin.source.hive.CLIHiveClient.getMetaStoreClient(CLIHiveClient.java:132)
        at 
org.apache.kylin.source.hive.CLIHiveClient.getHiveDbNames(CLIHiveClient.java:116)
        at 
org.apache.kylin.source.hive.HiveMetadataExplorer.listDatabases(HiveMetadataExplorer.java:47)
        at 
org.apache.kylin.rest.service.TableService.getSourceDbNames(TableService.java:277)
        at 
org.apache.kylin.rest.controller.TableController.showHiveDatabases(TableController.java:188)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)


> Exception in thread "main" java.lang.IllegalArgumentException: Failed to find 
> metadata store by url: kylin_metadata@hbase
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-3940
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3940
>             Project: Kylin
>          Issue Type: Test
>          Components: Environment 
>    Affects Versions: v2.5.2
>         Environment: apache-hive-2.3.4-bin 
> hbase-1.4.9 
> hadoop-3.1.0 
> apache-kylin-2.5.2-bin-hadoop3
>            Reporter: praveenece
>            Priority: Critical
>
> I am getting the below error. This error occurred when use 
> apache-kylin-2.5.2-bin-hadoop3. if we use apache-kylin-2.5.2-bin-hbase1x 
> kylin gets started. 
> apache-hive-2.3.4-bin 
> hbase-1.4.9 
> hadoop-3.1.0 
> apache-kylin-2.5.2-bin-hadoop3
> 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:98)
>         at 
> org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:110)
>         at 
> org.apache.kylin.rest.service.AclTableMigrationTool.checkIfNeedMigrate(AclTableMigrationTool.java:98)
>         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:92)
>         ... 3 more
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/hadoop/hbase/client/ColumnFamilyDescriptor
>         at 
> org.apache.kylin.storage.hbase.HBaseResourceStore.getConnection(HBaseResourceStore.java:86)
>         at 
> org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:112)
>         at 
> org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:93)
>         ... 8 more
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to