Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10576 DiskBalancer followup work items
  3. HDFS-11037

DiskBalancer: redirect stdout/stderr stream for easy tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • balancer & mover
    • None

    Description

      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.

      Attachments

        Activity

          People

            xiaobingo Xiaobing Zhou
            xiaobingo Xiaobing Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: