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

Coord job with only unresolved dependencies doesn't timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 4.3.1
    • None
    • None

    Description

      CoordActionInputCheckXCommand.java
      else if (!isTimeout(currentTime)) {
                      if (!status) {
                          long addtionalDelay = isChangeInDependency ? 0
                                  : ConfigurationService.getInt(CONF_COORD_INPUT_CHECK_REQUEUE_INTERVAL_ADDITIONAL_DELAY)
                                          * 1000L;
                          queue(new CoordActionInputCheckXCommand(coordAction.getId(), coordAction.getJobId()),
                                  addtionalDelay + getCoordInputCheckRequeueInterval());
                      }
                      updateCoordAction(coordAction, isChangeInDependency);
                  }
                  else {
                      if (!nonExistListStr.isEmpty() && isPushDependenciesMet) {
                          queue(new CoordActionTimeOutXCommand(coordAction, coordJob.getUser(), coordJob.getAppName()));
                      }
                      else {
                          // Let CoordPushDependencyCheckXCommand queue the timeout
                          queue(new CoordPushDependencyCheckXCommand(coordAction.getId()));
                      }
                      updateCoordAction(coordAction, isChangeInDependency);
                  }
              }
      

      !nonExistList Str.isEmpty() check is unnecessary, once the action has passed the timeout, it should be marked as timedout.

      Attachments

        1. OOZIE-3031-V1.patch
          3 kB
          Purshotam Shah
        2. OOZIE-3031-V2.patch
          3 kB
          Purshotam Shah

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: