Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11189

Subprocedure should be marked as complete upon failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 0.98.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      ProcedureMember#submitSubprocedure() uses the following check:

            if (!rsub.isComplete()) {
              LOG.error("Subproc '" + procName + "' is already running. Bailing out");
              return false;
            }
      

      If a subprocedure of that name previously ran but failed, its complete field would stay false, leading to early bailout.

      A failed subprocedure should mark itself complete.

        Attachments

        1. 11189-v1.txt
          1 kB
          Ted Yu
        2. 11189-v2.txt
          3 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: