kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin P. McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-4903) Shell#runCommand does not clear the input buffer
Date Wed, 15 Mar 2017 15:52:41 GMT
Colin P. McCabe created KAFKA-4903:
--------------------------------------

             Summary: Shell#runCommand does not clear the input buffer
                 Key: KAFKA-4903
                 URL: https://issues.apache.org/jira/browse/KAFKA-4903
             Project: Kafka
          Issue Type: Bug
          Components: clients
            Reporter: Colin P. McCabe
            Assignee: Colin P. McCabe


Shell#runCommand does not clear the input buffer where it claims to do so.
{code}
            // clear the input stream buffer
            String line = null;
            while (line != null) {
                line = inReader.readLine();
            }
 {code}

The 'while' loop never runs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message