You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by sdangi <sd...@datalenz.com> on 2016/03/06 04:59:09 UTC

java.lang.IllegalStateException: No resource found at

Hi,

I have run too many jobs successfully but never hit any issues before on the
2nd step.  Not sure how this came exception about.  Any idea?


[pool-7-thread-10]:[2016-03-05
21:57:08,353][ERROR][org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:86)]
- error in FactDistinctColumnsJob
java.lang.IllegalStateException: No resource found at --
/cube_desc/TOPN_CST_CCY_BR_TXN_FINAL.json
        at
org.apache.kylin.job.hadoop.AbstractHadoopJob.dumpResources(AbstractHadoopJob.java:352)
        at
org.apache.kylin.job.hadoop.AbstractHadoopJob.attachKylinPropsAndMetadata(AbstractHadoopJob.java:298)
        at
org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:81)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at
org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
        at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
        at
org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
[pool-7-thread-10]:[2016-03-05
21:57:08,376][INFO][org.apache.kylin.job.hadoop.AbstractHadoopJob.cleanupTempConfFile(AbstractHadoopJob.java:401)]
- tempMetaFileString is : null
[pool-7-thread-10]:[2016-03-05
21:57:08,379][ERROR][org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:123)]
- error execute
MapReduceExecutable{id=8fc2c419-600a-4950-8e55-92547460adee-01, name=Extract
Fact Table Distinct Columns, state=RUNNING}
java.lang.IllegalStateException: No resource found at --
/cube_desc/TOPN_CST_CCY_BR_TXN_FINAL.json
        at
org.apache.kylin.job.hadoop.AbstractHadoopJob.dumpResources(AbstractHadoopJob.java:352)
        at
org.apache.kylin.job.hadoop.AbstractHadoopJob.attachKylinPropsAndMetadata(AbstractHadoopJob.java:298)
        at
org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:81)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at
org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
        at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
        at
org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

--
View this message in context: http://apache-kylin.74782.x6.nabble.com/java-lang-IllegalStateException-No-resource-found-at-tp3802.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Re: java.lang.IllegalStateException: No resource found at

Posted by hongbin ma <ma...@apache.org>.
​i don't think it's related to tomcat/temp directory, the root cause is in
kylin's metadata store in hbase.

is there any cube using /cube_desc/TOPN_CST_CCY_BR_TXN_FINAL.json as far as
you know? may be you should export the metastore to local file system can
check what's in there. (check
http://kylin.apache.org/docs/howto/howto_backup_metadata.html)​

On Mon, Mar 7, 2016 at 11:13 AM, sdangi <sd...@datalenz.com> wrote:

> I'm not sure what really happened.  It wiped out the cube itself. I had to
> cleanse and recreate the cube again ;-(  The build takes a while.
>
> Is there a dependency on tomcat/temp directory between cube builds?
>
> --
> View this message in context:
> http://apache-kylin.74782.x6.nabble.com/java-lang-IllegalStateException-No-resource-found-at-tp3802p3808.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>



-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone

Re: java.lang.IllegalStateException: No resource found at

Posted by sdangi <sd...@datalenz.com>.
I'm not sure what really happened.  It wiped out the cube itself. I had to
cleanse and recreate the cube again ;-(  The build takes a while.

Is there a dependency on tomcat/temp directory between cube builds?

--
View this message in context: http://apache-kylin.74782.x6.nabble.com/java-lang-IllegalStateException-No-resource-found-at-tp3802p3808.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Re: java.lang.IllegalStateException: No resource found at

Posted by Li Yang <li...@apache.org>.
Looks like metadata is corrupted. Somewhere ref to the cube desc json, but
it's not actually there.

First time see this.

On Sun, Mar 6, 2016 at 11:59 AM, sdangi <sd...@datalenz.com> wrote:

> Hi,
>
> I have run too many jobs successfully but never hit any issues before on
> the
> 2nd step.  Not sure how this came exception about.  Any idea?
>
>
> [pool-7-thread-10]:[2016-03-05
>
> 21:57:08,353][ERROR][org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:86)]
> - error in FactDistinctColumnsJob
> java.lang.IllegalStateException: No resource found at --
> /cube_desc/TOPN_CST_CCY_BR_TXN_FINAL.json
>         at
>
> org.apache.kylin.job.hadoop.AbstractHadoopJob.dumpResources(AbstractHadoopJob.java:352)
>         at
>
> org.apache.kylin.job.hadoop.AbstractHadoopJob.attachKylinPropsAndMetadata(AbstractHadoopJob.java:298)
>         at
>
> org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:81)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at
>
> org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
>         at
>
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
>         at
>
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
>         at
>
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
>         at
>
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> [pool-7-thread-10]:[2016-03-05
>
> 21:57:08,376][INFO][org.apache.kylin.job.hadoop.AbstractHadoopJob.cleanupTempConfFile(AbstractHadoopJob.java:401)]
> - tempMetaFileString is : null
> [pool-7-thread-10]:[2016-03-05
>
> 21:57:08,379][ERROR][org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:123)]
> - error execute
> MapReduceExecutable{id=8fc2c419-600a-4950-8e55-92547460adee-01,
> name=Extract
> Fact Table Distinct Columns, state=RUNNING}
> java.lang.IllegalStateException: No resource found at --
> /cube_desc/TOPN_CST_CCY_BR_TXN_FINAL.json
>         at
>
> org.apache.kylin.job.hadoop.AbstractHadoopJob.dumpResources(AbstractHadoopJob.java:352)
>         at
>
> org.apache.kylin.job.hadoop.AbstractHadoopJob.attachKylinPropsAndMetadata(AbstractHadoopJob.java:298)
>         at
>
> org.apache.kylin.job.hadoop.cube.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:81)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at
>
> org.apache.kylin.job.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
>         at
>
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
>         at
>
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
>         at
>
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
>         at
>
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> --
> View this message in context:
> http://apache-kylin.74782.x6.nabble.com/java-lang-IllegalStateException-No-resource-found-at-tp3802.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>