hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2512) error stream handling in Shell executor
Date Fri, 04 Jan 2008 14:13:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555933#action_12555933

Devaraj Das commented on HADOOP-2512:

bq. though I don't think there is any need to meddle with error msg.
+1 (if the developer really wants to display an error msg like "Command exit with status code...
 " to the user, he can invoke getExitCode and then print out a suitable msg).

> error stream handling in Shell executor 
> ----------------------------------------
>                 Key: HADOOP-2512
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2512
>             Project: Hadoop
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.16.0
>         Attachments: HADOOP-2512.patch
> Fix a couple of issues while handling error stream in Shell (added in HADOOP-2344) :
> # fix typo in {{System.getProperty("line.seperator")}}, currently it adds "null" instead
of "\n".
> # completed is not set to {{true}} when a process exits with an error.
> # In normal error case, it reads errMsg (to create IOException) before waiting for errThread
to complete, which results in in consistent error message. I will attach a patch.

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

View raw message