Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7722

Support a stop command in ShellCommandExecutor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Tags:
      mr2,mapreduce-2.0

      Description

      Add a stop function call to Shell so as to either stop the process from getting started if not already done so or destroy the process if it already has started.

      Context of usage:
      There can be race conditions when trying to kill an execution as the shell::execute call is blocking and using the getProcess call is not a feasible option as there can be a delay between the execute call and when the process object is actually created ( after which it can be used to kill the running sub-process ).

        Attachments

        1. HADOOP-7722.1.patch
          7 kB
          Hitesh Shah

          Issue Links

            Activity

              People

              • Assignee:
                hitesh Hitesh Shah
                Reporter:
                hitesh Hitesh Shah
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: