You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Arvind Prabhakar <ar...@apache.org> on 2012/05/02 02:20:27 UTC

Re: Review Request: FLUME-1132: HDFSEventSink has spurious and verbose log message

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

Ship it!


+1 Changes look good. A couple of nits noted below.


flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
<https://reviews.apache.org/r/4838/#comment16464>

    nit: the callWithTimeoutLogError adds a prefix to the log message as "Error calling " + name. This translates to a message in this case like:"Error calling Calling flush on ...".  Suggest removing the redundant words here and keeping the name to "flush on " + callableWriter.



flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
<https://reviews.apache.org/r/4838/#comment16465>

    nit: "close on " + e.getKey()


- Arvind


On 2012-04-22 23:17:45, Brock Noland wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/4838/
> -----------------------------------------------------------
> 
> (Updated 2012-04-22 23:17:45)
> 
> 
> Review request for Flume.
> 
> 
> Summary
> -------
> 
> Message is logged a large volume of times and is incorrect.
> 
> 
> This addresses bug FLUME-1132.
>     https://issues.apache.org/jira/browse/FLUME-1132
> 
> 
> Diffs
> -----
> 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java 1b61cad 
> 
> Diff: https://reviews.apache.org/r/4838/diff
> 
> 
> Testing
> -------
> 
> Logging only change
> 
> 
> Thanks,
> 
> Brock
> 
>


Re: Review Request: FLUME-1132: HDFSEventSink has spurious and verbose log message

Posted by Brock Noland <br...@cloudera.com>.

> On 2012-05-02 00:20:27, Arvind Prabhakar wrote:
> > +1 Changes look good. A couple of nits noted below.

Resolve both nits and attached to JIRA. Thank you for your review!


- Brock


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


On 2012-04-22 23:17:45, Brock Noland wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/4838/
> -----------------------------------------------------------
> 
> (Updated 2012-04-22 23:17:45)
> 
> 
> Review request for Flume.
> 
> 
> Summary
> -------
> 
> Message is logged a large volume of times and is incorrect.
> 
> 
> This addresses bug FLUME-1132.
>     https://issues.apache.org/jira/browse/FLUME-1132
> 
> 
> Diffs
> -----
> 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java 1b61cad 
> 
> Diff: https://reviews.apache.org/r/4838/diff
> 
> 
> Testing
> -------
> 
> Logging only change
> 
> 
> Thanks,
> 
> Brock
> 
>