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

Support a stop command in ShellCommandExecutor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • 0.23.0
    • 0.23.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: