You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2017/04/07 00:33:41 UTC

[jira] [Commented] (HADOOP-11371) Shell#runCommand may miss output on stderr

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

Junping Du commented on HADOOP-11371:
-------------------------------------

Hi [~jira.shegalov], the patch doesn't apply any more. Do you think we still need this fix (especially for trunk branch)?

> Shell#runCommand may miss output on stderr
> ------------------------------------------
>
>                 Key: HADOOP-11371
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11371
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>            Priority: Minor
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-11371.001.patch
>
>
> Shell#runCommand uses buffered reader to read complete lines. Hence, if the output is not terminated by newline or the thread was interrupted before new line was produced by the child process, this last portion is not consumed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org