accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2447) Shell#printHelp should use the ConsoleReader to print
Date Mon, 10 Mar 2014 17:37:46 GMT
Josh Elser created ACCUMULO-2447:
------------------------------------

             Summary: Shell#printHelp should use the ConsoleReader to print
                 Key: ACCUMULO-2447
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2447
             Project: Accumulo
          Issue Type: Bug
          Components: shell, test
    Affects Versions: 1.5.1
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: 1.5.2, 1.6.0


In debugging ShellServerTest, there was a ton of garbage on the console from the Help command.
In tracking this down, there's a method on Shell that always makes its own PrintWriter to
System.err.

Then, optionally, it will print the same message to the OutputStream that the ConsoleReader
has. I'm not sure if there's a reason that we always need to print to System.err





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message