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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • util
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: