[ https://issues.apache.org/jira/browse/KAFKA-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947312#comment-15947312 ]
ASF GitHub Bot commented on KAFKA-4903: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/2692 > Remove unused code for reading Shell command stdout and add unit test > --------------------------------------------------------------------- > > 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 > Fix For: 0.11.0.0 > > > 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)