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

coord action in WAITING when no definition of dataset in coord job xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 3.3.2
    • Component/s: coordinator
    • Labels:
      None

      Description

      for a simple coord job, with no dataset/data event defined, coord action is WAITING for missing dependency. the same test case used to succeed.

      $ oozie job -info 0000149-130111232807651-oozie-oozi-C@1
      ... ...
      First Missing Dependency : -

      oozie.log:

      2013-01-18 20:31:58,280 DEBUG CoordActionInputCheckXCommand:545 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] Acquired lock for [0000149-130111232807651-oozie-oozi-C] in [coord_action_input]
      2013-01-18 20:31:58,284 DEBUG CoordActionInputCheckXCommand:545 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] Execute command [coord_action_input] key [0000149-130111232807651-oozie-oozi-C]
      2013-01-18 20:31:58,284 INFO CoordActionInputCheckXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] [0000149-130111232807651-oozie-oozi-C@1]::ActionInputCheck:: Action is in WAITING state.
      2013-01-18 20:31:58,285 INFO CoordActionInputCheckXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] [0000149-130111232807651-oozie-oozi-C@1]::CoordActionInputCheck:: Missing deps:
      2013-01-18 20:31:58,286 INFO CoordActionInputCheckXCommand:539 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] [0000149-130111232807651-oozie-oozi-C@1]::ActionInputCheck:: In checkResolvedUris...
      2013-01-18 20:31:58,286 DEBUG CoordActionInputCheckXCommand:545 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] [0000149-130111232807651-oozie-oozi-C@1]::ActionInputCheck:: Checking Latest/future
      2013-01-18 20:31:58,290 DEBUG CoordActionInputCheckXCommand:545 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] Released lock for [0000149-130111232807651-oozie-oozi-C] in [coord_action_input]
      2013-01-18 20:31:58,290 ERROR CoordActionInputCheckXCommand:536 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[0000149-130111232807651-oozie-oozi-C] ACTION[0000149-130111232807651-oozie-oozi-C@1] XException,
      org.apache.oozie.command.CommandException: E1021: Coord Action Input Check Error: null
      at org.apache.oozie.command.coord.CoordActionInputCheckXCommand.execute(CoordActionInputCheckXCommand.java:165)
      at org.apache.oozie.command.coord.CoordActionInputCheckXCommand.execute(CoordActionInputCheckXCommand.java:59)
      at org.apache.oozie.command.XCommand.call(XCommand.java:277)
      at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:326)
      at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:255)
      at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
      at org.apache.oozie.command.coord.CoordActionInputCheckXCommand.execute(CoordActionInputCheckXCommand.java:141)
      ... 8 more

        Attachments

        1. OOZIE-1179.patch
          11 kB
          Mona Chitnis
        2. OOZIE-1179.patch
          34 kB
          Mona Chitnis
        3. OOZIE-1179.patch
          10 kB
          Mona Chitnis

          Issue Links

            Activity

              People

              • Assignee:
                chitnis Mona Chitnis
                Reporter:
                mchiang_4work@yahoo.com Michelle Chiang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: