[ 
https://issues.apache.org/jira/browse/FLUME-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086119#comment-13086119
 ] 

[email protected] commented on FLUME-742:
-----------------------------------------------------


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

Review request for Flume, Arvind Prabhakar, jmhsieh, and Tom White.


Summary
-------

Posted on review board for Tom White. (use /trunk/ as base dir, or use 
flume-git and post gt post).

TestAvroSinks apparently is failing but Maven is not reporting the failure!  
This fixes behavior of the sink and updates to make a valid test.


This addresses bug FLUME-742.
    https://issues.apache.org/jira/browse/FLUME-742


Diffs
-----

  
/trunk/flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroEventSink.java
 1157304 
  
/trunk/flume-core/src/test/java/com/cloudera/flume/handlers/avro/TestAvroSinks.java
 1157304 

Diff: https://reviews.apache.org/r/1543/diff


Testing
-------

Tom ran TestAvroSinks


Thanks,

jmhsieh



> TestAvroSinks fails
> -------------------
>
>                 Key: FLUME-742
>                 URL: https://issues.apache.org/jira/browse/FLUME-742
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: FLUME-742.patch, FLUME-742.patch
>
>
> The following appears in the log
> {noformat}
> 2011-08-12 21:21:48,784 [Thread-13] INFO avro.AvroEventSink: AvroEventSink 
> open on port  35854
> 2011-08-12 21:21:48,863 [Thread-13] INFO debug.MemorySinkSource: Closing mem 
> source sink that has 25 elements
> 2011-08-12 21:21:48,863 [Thread-13] INFO avro.AvroEventSink: AvroEventSink on 
> port 35854 closed
> Exception in thread "Thread-13" java.lang.NullPointerException
>         at 
> com.cloudera.flume.handlers.avro.AvroEventSink.getSentBytes(AvroEventSink.java:116)
>         at 
> com.cloudera.flume.handlers.avro.TestAvroSinks$3.run(TestAvroSinks.java:196)
> {noformat}
> Then the test (testManyThreadsAvroSend) times out.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to