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

If ShellCommandExecutor had a toString() operator that listed the command run, its error messages may be more meaningful

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.19.0
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It may be easier to identify what causes error commands to be returned on an exec if the command is included in the error message. this can be done with

      • a toString() operator on the class that includes the list of arguments (when non null)
      • a test that this works with arguments with spaces, and a null array
      • relevant use of the operator when an execute fails, such as in TaskTracker

        Attachments

        1. hadoop-3852.patch
          3 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: