You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Chao Long (JIRA)" <ji...@apache.org> on 2019/04/09 06:53:00 UTC
[jira] [Commented] (KYLIN-3940) Exception in thread "main"
java.lang.IllegalArgumentException: Failed to find metadata store by url:
kylin_metadata@hbase
[ https://issues.apache.org/jira/browse/KYLIN-3940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813049#comment-16813049 ]
Chao Long commented on KYLIN-3940:
----------------------------------
Hi [~praveenece], Kylin's hadoop3 binary is for Hadoop 3.0 + HBase 2.0, which is not match your environment.
> 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)