[
https://issues.apache.org/jira/browse/KAFKA-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin P. McCabe updated KAFKA-4903:
-----------------------------------
Summary: Remove unused code for reading Shell command stdout and add unit
test (was: Shell#runCommand does not clear the input buffer)
> 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
>
> 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)