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

Recovery service will never recover bundle action if CoordSubmitXCommand command is lost

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      If bundle action is in prep and coord submit command is lost, bundle action will never recover bcz of below condition.

      baction.getCoordId() is null in that case and isJobIdForThisServer(baction.getCoordId()) will throw NPE.

      RecoveryService.runBundleRecovery()
      
      if (baction.getCoordId() == null && baction.getStatus() != Job.Status.PREP) {
      	log.error("CoordId is null for Bundle action " + baction.getBundleActionId());
      	continue;
      }
      if (Services.get().get(JobsConcurrencyService.class).isJobIdForThisServer(baction.getCoordId())) {
      }
      

        Attachments

        1. OOZIE-1893-V1.patch
          1.0 kB
          Purshotam Shah

          Activity

            People

            • Assignee:
              puru Purshotam Shah
              Reporter:
              puru Purshotam Shah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: