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

Abhishek Bafna edited comment on OOZIE-2525 at 8/12/16 5:58 AM:
----------------------------------------------------------------

Thanks [~rkanter] for the patch. Marking {{submit patch}} for issue, so jenkins 
can run and get included into the 4.3.0 release.


was (Author: abhishekbafna):
Thanks [~rkanter] for the patch. Marking submitting the patch for issue, so 
jenkins can run and get included into the 4.3.0 release.

> SchemaChecker fails with NPE
> ----------------------------
>
>                 Key: OOZIE-2525
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2525
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Purshotam Shah
>            Assignee: Robert Kanter
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2525.001.patch
>
>
> {code}
> 2016-05-03 14:38:03,851  WARN SchedulerService:523 [pool-1-thread-2] - 
> SERVER[-] Error executing runnable [SchemaCheckerRunnable], null
> java.lang.NullPointerException
>         at 
> org.apache.oozie.service.SchemaCheckerService.access$002(SchemaCheckerService.java:29)
>         at 
> org.apache.oozie.service.SchemaCheckerService$SchemaCheckerRunnable.run(SchemaCheckerService.java:120)
>         at 
> org.apache.oozie.service.SchedulerService$2.run(SchedulerService.java:175)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>         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)
> {code}
> It;s trying to use SchemaCheckerService before it is initialized.
> {code:title=SchemaCheckerService.java}
> Services.get().get(SchemaCheckerService.class).status = "DISABLED (not leader 
> in HA)";
>                 Services.get().get(SchemaCheckerService.class).lastCheck = 
> "N/A";
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to