You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by 周湘伦 <ja...@gmail.com> on 2017/11/23 05:52:11 UTC

Oops...failed to load jobs

Hi,all
I encountered a thorny problem:
Early in the morning,I built a time-consuming cube,then caused memory leak,
and kylin been killed . After i restarted the kylin ,when I click on the
monitor tag on the page, remind me:failed to load jobs. And the log as
below:
13:36:58.633 [http-bio-7070-exec-3] ERROR
org.apache.kylin.rest.controller.BasicController -
org.apache.kylin.rest.exception.InternalErrorException:
java.lang.NullPointerException
at
org.apache.kylin.rest.controller.JobController.list(JobController.java:76)
~[kylin-server-base-2.0.0.jar:2.0.0]
at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) ~[?:?]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
~[spring-web-3.2.17.RELEASE.jar:3.2.17.RELEASE]
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
~[spring-web-3.2.17.RELEASE.jar:3.2.17.RELEASE]
at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)
~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)
~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)
~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]

The jobs of other projects is ok.I can see other projects' jobs in web page.
In addition, I can still query in this project.
First,I thought it was HBase's problem. Then i restart hbase.
But the problem remains unsolved,then i restarted hadoop habse zookeeper
hive kylin , the problem still exists!

How can i resolve this problem?If any body has idea about this problem ,
please help me ,and if anyone need more logs, i also can give more logs.

Thanks a lot.

Re: Oops...failed to load jobs

Posted by Li Yang <li...@apache.org>.
What's your Kylin version? Line number matters to trace down NPE.

On Thu, Nov 23, 2017 at 1:52 PM, 周湘伦 <ja...@gmail.com> wrote:

> Hi,all
> I encountered a thorny problem:
> Early in the morning,I built a time-consuming cube,then caused memory leak,
> and kylin been killed . After i restarted the kylin ,when I click on the
> monitor tag on the page, remind me:failed to load jobs. And the log as
> below:
> 13:36:58.633 [http-bio-7070-exec-3] ERROR
> org.apache.kylin.rest.controller.BasicController -
> org.apache.kylin.rest.exception.InternalErrorException:
> java.lang.NullPointerException
> at
> org.apache.kylin.rest.controller.JobController.list(JobController.java:76)
> ~[kylin-server-base-2.0.0.jar:2.0.0]
> at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) ~[?:?]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
> at
> org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(
> InvocableHandlerMethod.java:221)
> ~[spring-web-3.2.17.RELEASE.jar:3.2.17.RELEASE]
> at
> org.springframework.web.method.support.InvocableHandlerMethod.
> invokeForRequest(InvocableHandlerMethod.java:136)
> ~[spring-web-3.2.17.RELEASE.jar:3.2.17.RELEASE]
> at
> org.springframework.web.servlet.mvc.method.annotation.
> ServletInvocableHandlerMethod.invokeAndHandle(
> ServletInvocableHandlerMethod.java:104)
> ~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
> at
> org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.invokeHandleMethod(
> RequestMappingHandlerAdapter.java:743)
> ~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
> at
> org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.
> java:672)
> ~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
> at
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.
> handle(AbstractHandlerMethodAdapter.java:82)
> ~[spring-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]
>
> The jobs of other projects is ok.I can see other projects' jobs in web
> page.
> In addition, I can still query in this project.
> First,I thought it was HBase's problem. Then i restart hbase.
> But the problem remains unsolved,then i restarted hadoop habse zookeeper
> hive kylin , the problem still exists!
>
> How can i resolve this problem?If any body has idea about this problem ,
> please help me ,and if anyone need more logs, i also can give more logs.
>
> Thanks a lot.
>