Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-800

Job start/kill gives authorization error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.2.0
    • 3.2.0
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              chitnis Mona Chitnis
              chitnis Mona Chitnis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified