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

                 Key: HADOOP-3852
                 URL: https://issues.apache.org/jira/browse/HADOOP-3852
             Project: Hadoop Core
          Issue Type: Improvement
          Components: util
    Affects Versions: 0.19.0
            Reporter: Steve Loughran
            Priority: Minor


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to