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

Brock Noland commented on FLUME-1656:
-------------------------------------

We should just not redirect stderr as it won't be sent to the variable with 
process substitution:


{code}
$ val=$( (echo out; echo err 1>&2) 2>/dev/null)
$ echo "[$val]"
[out]
$ val=$( (echo out; echo err 1>&2) )
err
$ echo "[$val]"
[out]
{code}
                
> flume-ng script disregards stderr  from hadoop command when finding hadoop 
> jars
> -------------------------------------------------------------------------------
>
>                 Key: FLUME-1656
>                 URL: https://issues.apache.org/jira/browse/FLUME-1656
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Brock Noland
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to