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

(Updated June 28, 2017, 4:58 a.m.)


Review request for Flume and Attila Simon.


Changes
-------

Updated code based on comments from Attila Simon.


Repository: flume-git


Description
-------

Review request for: https://issues.apache.org/jira/browse/FLUME-2905 which is 
trying to prevent socket leaks when a netcat port is already bound to an 
existing process.


Diffs (updated)
-----

  flume-ng-core/src/main/java/org/apache/flume/source/NetcatSource.java 9513902 
  flume-ng-core/src/test/java/org/apache/flume/source/TestNetcatSource.java 
99d413a 


Diff: https://reviews.apache.org/r/60357/diff/2/

Changes: https://reviews.apache.org/r/60357/diff/1-2/


Testing
-------

I have tested flume-ng executable generated from my changes and I can confirm 
from the lsof output that the sockets do not keep increasing if the port to 
which netcat source is trying to bind to is already in use.
The junits are also passing for me for the NetcatSource.


Thanks,

Siddharth Ahuja

Reply via email to