-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4622/#review7134
-----------------------------------------------------------



trunk/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java
<https://reviews.apache.org/r/4622/#comment15765>

    My bad Inder - just noticed this issue that I should have caught in the 
first round of review. The FileInputStream is not getting closed 
correctly/timely. Please refactor this so that the file input stream is 
correctly getting closed in the finally clause associated with the try/catch.


- Arvind


On 2012-04-23 05:48:30, Inder Singh wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/4622/
> -----------------------------------------------------------
> 
> (Updated 2012-04-23 05:48:30)
> 
> 
> Review request for Flume, Arvind Prabhakar and Mike Percy.
> 
> 
> Summary
> -------
> 
> Patch to address FLUME 1096. Please review and share your thoughts.
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/FLUME-1096.
>     
> https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/FLUME-1096
> 
> 
> Diffs
> -----
> 
>   trunk/bin/flume-ng 1328221 
>   
> trunk/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java
>  1328221 
> 
> Diff: https://reviews.apache.org/r/4622/diff
> 
> 
> Testing
> -------
> 
> 1. Configured flume agent to publish data in /data/flume/%D
> 2. ran the avroClient to stream some data.
> 3. Things looked ok. Data was available in HDFS.
> 
> 
> Thanks,
> 
> Inder
> 
>

Reply via email to