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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: