You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/03/29 15:11:41 UTC
[jira] [Resolved] (KAFKA-4903) Remove unused code for reading Shell
command stdout and add unit test
[ https://issues.apache.org/jira/browse/KAFKA-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma resolved KAFKA-4903.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.11.0.0
Issue resolved by pull request 2692
[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)