kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <>
Subject [jira] [Commented] (KYLIN-1250) Got NPE when discarding a job
Date Thu, 07 Jan 2016 07:47:39 GMT


Shaofeng SHI commented on KYLIN-1250:

Two options to bypass this error before upgrading to v1.3:
1) create a new cube
2) or using tool to download all metadata to local, then delete this job's file (path be /execute/<job-uuid>),
after that, reset the hbase metadata and then restore from the local; the tool
can be found in :

Please use 1) if you¹re not much familiar with kylin metadata structure;
If go with 2), highly suggest you take a hbase snapshot as backup on the
metadata table before doing any change.

> Got NPE when discarding a job
> -----------------------------
>                 Key: KYLIN-1250
>                 URL:
>             Project: Kylin
>          Issue Type: Bug
>          Components: General
>    Affects Versions: v1.2
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>             Fix For: v2.0, v1.3
> User reported that he couldn't rebuild a cube, Kylin reports "The cube <cube_name>
has running job (<job_id>) please discard it and try again." 
> Then he tried to discard the job, but got an NullPointerException;
> {code}
> Caused by: java.lang.NullPointerException
>     at
>     at$$FastClassByCGLIB$$83a44b2a.invoke(<generated>)
>     at net.sf.cglib.proxy.MethodProxy.invoke(
>     at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(
>     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
>     at
>     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInv
> {code}
> User said "We haven’t done the purge action. It’s possible that the bug was triggered
when we have made the changes to filtering while the cube was still in the build process?"

This message was sent by Atlassian JIRA

View raw message