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

PartitionDependencyManagerService keeps on purging delete coord actions

    XMLWordPrintableJSON

    Details

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

      Description

      Because of that PartitionDependencyManagerService takes more than 10 min to complete.

      Long regTime = registeredCoordActionMap.get(actionId);
                      if(regTime < (currentTime - timeToLive * 1000)){
                          CoordinatorActionBean caBean = null;
                          try {
                              caBean = CoordActionQueryExecutor.getInstance().get(CoordActionQuery.GET_COORD_ACTION_STATUS, actionId);
                          }
                          catch (JPAExecutorException e) {
                              LOG.warn("Error in checking coord action:" + actionId + "to purge, skipping", e);
                          }
                          if(caBean != null && !caBean.getStatus().equals(CoordinatorAction.Status.WAITING)){
                              staleActions.add(actionId);
                              actionItr.remove();
                          }
      
      

      Should remove actionId if JPAExecutorException = no row found

        Attachments

        1. OOZIE-2227-V1.patch
          8 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: