Xiaobing Zhou created HDFS-11037:
------------------------------------

             Summary: 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
            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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to