You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiaobing Zhou (JIRA)" <ji...@apache.org> on 2016/10/19 23:24:59 UTC

[jira] [Updated] (HDFS-11037) DiskBalancer: redirect stdout/stderr stream for easy tests

     [ https://issues.apache.org/jira/browse/HDFS-11037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaobing Zhou updated HDFS-11037:
---------------------------------
    Fix Version/s:     (was: 2.9.0)

> DiskBalancer: redirect stdout/stderr stream for easy tests
> ----------------------------------------------------------
>
>                 Key: HDFS-11037
>                 URL: https://issues.apache.org/jira/browse/HDFS-11037
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>
> Currently, disk balancer command maintains PrintStream so that it makes it easy to buffer any outputs for test verification. This is not clean approach as we might also need to adding other print streams for inputs, outputs and errors. The better way is to use System.setErr() or System.setIn(), System.setOut() to do stream redirection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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