Job start/kill gives authorization error
----------------------------------------
Key: OOZIE-800
URL: https://issues.apache.org/jira/browse/OOZIE-800
Project: Oozie
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Mona Chitnis
Assignee: Mona Chitnis
Fix For: 3.2.0
Job cannot be started with option 'start' after 'submit'. Option 'run' works ok.
Job cannot be killed in either case.
$ oozie job -submit -config job.properties
<job-id>
$ oozie job -start <job-id>
Error: E0508 : E0508: User [?] not authorized for WF job
[<job-id>]
$ oozie job -kill <job-id>
Error: E0508 : E0508: User [?] not authorized for WF job
[<job-id>]
Same behavior for coordinator and bundle jobs - Error E0509
A part of the stacktrace
at
org.apache.oozie.service.AuthorizationService.isUserInAcl(AuthorizationService.java:371)
at
org.apache.oozie.service.AuthorizationService.authorizeForJob(AuthorizationService.java:405)
at org.apache.oozie.servlet.BaseJobServlet.doPut(BaseJobServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:640)
at
org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:285)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira