You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xi Chen (JIRA)" <ji...@apache.org> on 2018/11/05 12:10:00 UTC

[jira] [Created] (KYLIN-3666) MERGE CUBE Step 2 Update Dictionary Data Throws IllegalStateException

Xi Chen created KYLIN-3666:
------------------------------

             Summary: MERGE CUBE Step 2 Update Dictionary Data Throws IllegalStateException
                 Key: KYLIN-3666
                 URL: https://issues.apache.org/jira/browse/KYLIN-3666
             Project: Kylin
          Issue Type: Bug
          Components: Job Engine
    Affects Versions: v2.5.0
         Environment: cdh5.11.0
            Reporter: Xi Chen


MERGE CUBE job failed in Step 2, throwing such exception:

 
{code:java}
java.lang.IllegalStateException: Metadata uri : kylin_metadata_my_service@hdfs,path=viewfs://hadoop-footest/kylin/kylin_metadata_my_service/kylin-9583f16b-93cb-9461-a58c-43c848007972/kylin_sales_cube_clone_spark/metadata is not recognized
at org.apache.kylin.common.KylinConfig.decideUriType(KylinConfig.java:172)
at org.apache.kylin.common.KylinConfig.createInstanceFromUri(KylinConfig.java:182)
at org.apache.kylin.engine.mr.steps.UpdateDictionaryStep.doWork(UpdateDictionaryStep.java:70)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:163)
at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:69)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:163)
at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:113)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Metadata uri : kylin_metadata_my_service@hdfs,path=viewfs://hadoop-footest/kylin/kylin_metadata_my_service/kylin-9583f16b-93cb-9461-a58c-43c848007972/kylin_sales_cube_clone_spark/metadata looks like a file but it's neither a file nor a directory
at org.apache.kylin.common.KylinConfig.decideUriType(KylinConfig.java:162)
... 9 more
{code}
The metadataUrl is on hdfs, but decideUriType() method does not recognize it.

Thus throwing such exception.

Both MR and Spark engine are affected.

Would [~Wayne0101] please have a look? I see it's related to KYLIN-3471

 



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