Oozie Email Action Fails With Error: java.lang.NullPointerException After Upgrading to BDA 4.4/CDH 5.5
(Doc ID 2127326.1)
Last updated on NOVEMBER 08, 2022
Applies to:
Big Data Appliance Integrated Software - Version 4.4.0 and laterLinux x86-64
Symptoms
NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.
After upgrading to BDA 4.4/CDH 5.5, Oozie fails to start or oozie email actions fails with the following exception:
SERVER[<DOMAIN>] E0100: Could not initialize service [null], java.lang.NullPointerException
org.apache.oozie.service.ServiceException: E0100: Could not initialize service [null], java.lang.NullPointerException
at org.apache.oozie.service.EventHandlerService.init(EventHandlerService.java:92)
at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)
at org.apache.oozie.service.Services.setService(Services.java:372)
...
Caused by: java.lang.NullPointerException
at java.lang.String.<init>(String.java:168)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:556)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:571)
at org.apache.oozie.sla.listener.SLAEmailEventListener.init(SLAEmailEventListener.java:110)
...
org.apache.oozie.service.ServiceException: E0100: Could not initialize service [null], java.lang.NullPointerException
at org.apache.oozie.service.EventHandlerService.init(EventHandlerService.java:92)
at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)
at org.apache.oozie.service.Services.setService(Services.java:372)
...
Caused by: java.lang.NullPointerException
at java.lang.String.<init>(String.java:168)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:556)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:571)
at org.apache.oozie.sla.listener.SLAEmailEventListener.init(SLAEmailEventListener.java:110)
...
Caused by: java.lang.NullPointerException
at java.lang.String.(String.java:166)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:556)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:571)
at org.apache.oozie.action.email.EmailActionExecutor.email(EmailActionExecutor.java:171)
at org.apache.oozie.action.email.EmailActionExecutor.validateAndMail(EmailActionExecutor.java:161)
at org.apache.oozie.action.email.EmailActionExecutor.start(EmailActionExecutor.java:108)
... 15 more
at java.lang.String.(String.java:166)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:556)
at org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:571)
at org.apache.oozie.action.email.EmailActionExecutor.email(EmailActionExecutor.java:171)
at org.apache.oozie.action.email.EmailActionExecutor.validateAndMail(EmailActionExecutor.java:161)
at org.apache.oozie.action.email.EmailActionExecutor.start(EmailActionExecutor.java:108)
... 15 more
2016-04-14 11:26:36,228 WARN org.apache.oozie.command.wf.ActionStartXCommand: SERVER[<HOSTNAME>.<DOMAIN>] USER[*] GROUP[-] TOKEN[] APP[Transfers-Balance Processing] JOB [*-oozie-oozi-W] ACTION[*-oozie-oozi-W@Error*] Setting Action Status to [DONE]
2016-04-14 11:26:36,244 INFO org.apache.oozie.command.wf.ActionEndXCommand: SERVER[<HOSTNAME>.<DOMAIN>] USER[*] GROUP[-] TOKEN[] APP[Transfers-Balance Processing] JOB[*-oozie-oozi-W] ACTION[*-oozie-oozi-W@Error*] ERROR is considered as FAILED for SLA
2016-04-14 11:26:36,244 INFO org.apache.oozie.command.wf.ActionEndXCommand: SERVER[<HOSTNAME>.<DOMAIN>] USER[*] GROUP[-] TOKEN[] APP[Transfers-Balance Processing] JOB[*-oozie-oozi-W] ACTION[*-oozie-oozi-W@Error*] ERROR is considered as FAILED for SLA
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |