You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (JIRA)" <ji...@apache.org> on 2019/07/16 07:49:00 UTC

[jira] [Comment Edited] (KYLIN-4088) Using metadata url kylin_metadata@hbase for resource store

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

Xiaoxiang Yu edited comment on KYLIN-4088 at 7/16/19 7:48 AM:
--------------------------------------------------------------

Hi, [~sunfeng152157@sina.com], that package has been tested under CDH6.0, but not CDH6.2 because CDH6.2  is quiet new. Maybe you can downgrade your CDH version to CDH 6.0 ?

I find another issue related to CDH6.2 https://issues.apache.org/jira/projects/KYLIN/issues/KYLIN-4082. Something related to dependency conflict.

To fix it, you may check classpath of Kylin by "jinfo PID". After that, you may find serval jar like "woodstox-*.jar".  These classpath are decided by find-XXX-dependency.sh under $KYLIN_HOME/bin. You should find which jar caused conflict and remove it. And this usually spend a lot of time.



was (Author: hit_lacus):
Hi, [~sunfeng152157@sina.com], that package has test under CDH6.0, but not CDH6.2 because it is quiet new. Maybe you can downgrade your CDH version to CDH 6.0 ?

I find another issue related to CDH6.2 https://issues.apache.org/jira/projects/KYLIN/issues/KYLIN-4082. Something related to dependency conflict.

To fix it, you may check classpath of Kylin by "jinfo PID". After that, you may find serval jar like "woodstox-*.jar".  These classpath are decided by find-XXX-dependency.sh under $KYLIN_HOME/bin. You should find which jar caused conflict and remove it. And this usually spend a lot of time.


> Using metadata url kylin_metadata@hbase for resource store
> ----------------------------------------------------------
>
>                 Key: KYLIN-4088
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4088
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.6.3
>            Reporter: RandySun
>            Priority: Major
>
> I am using CDH 6.2 and trying to install apache-kylin-2.6.3-bin-cdh60.tar.gz into my server
> Env-check passed, however, when I  entered the start command, I got the following error:
> persistence.ResourceStore:88 : Using metadata url kylin_metadata@hbase for resource store
> 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:99)
>        at org.apache.kylin.common.persistence.ResourceStore.getStore(ResourceStore.java:111)
>        at org.apache.kylin.rest.service.AclTableMigrationTool.checkIfNeedMigrate(AclTableMigrationTool.java:99)
>        at org.apache.kylin.tool.AclTableMigrationCLI.main(AclTableMigrationCLI.java:43)
> 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.NoSuchMethodError: com.ctc.wstx.stax.WstxInputFactory.createSR(Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/SystemId;Lcom/ctc/wstx/io/InputBootstrapper;ZZ)Lorg/apache/phoenix/shaded/org/codehaus/stax2/XMLStreamReader2;
>        at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2803)
>        at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2787)
>        at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2838)
>        at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2812)
>        at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2689)
>        at org.apache.hadoop.conf.Configuration.get(Configuration.java:1160)
>        at org.apache.kylin.common.util.HadoopUtil.healSickConfig(HadoopUtil.java:69)
>        at org.apache.kylin.common.util.HadoopUtil.getCurrentConfiguration(HadoopUtil.java:59)
>        at org.apache.kylin.storage.hbase.HBaseConnection.newHBaseConfiguration(HBaseConnection.java:169)
>        at org.apache.kylin.storage.hbase.HBaseConnection.get(HBaseConnection.java:249)
>        at org.apache.kylin.storage.hbase.HBaseResourceStore.getConnection(HBaseResourceStore.java:95)
>        at org.apache.kylin.storage.hbase.HBaseResourceStore.createHTableIfNeeded(HBaseResourceStore.java:114)
>        at org.apache.kylin.storage.hbase.HBaseResourceStore.<init>(HBaseResourceStore.java:88)
>        ... 8 more
> 2019-07-16 14:36:57,963 INFO  [close-hbase-conn] hbase.HBaseConnection:137 : Closing HBase connections...
> ERROR: Unknown error. Please check full log.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)