> On Feb. 7, 2013, 3:23 p.m., Brock Noland wrote: > > flume-ng-core/src/main/java/org/apache/flume/source/ThriftSource.java, line > > 110 > > <https://reviews.apache.org/r/9352/diff/1/?file=256554#file256554line110> > > > > If this ex is thrown, I assume serverTransport will be null. Will this > > be an issue?
Good catch, I missed throwing the exception after wrapping it in a FlumeException. Else the server.serve() or creating the server would have thrown. - Hari ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/9352/#review16273 ----------------------------------------------------------- On Feb. 7, 2013, 10:03 p.m., Hari Shreedharan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/9352/ > ----------------------------------------------------------- > > (Updated Feb. 7, 2013, 10:03 p.m.) > > > Review request for Flume. > > > Description > ------- > > Thrift Source. > > > This addresses bug FLUME-1898. > https://issues.apache.org/jira/browse/FLUME-1898 > > > Diffs > ----- > > flume-ng-core/pom.xml 7db4f23 > flume-ng-core/src/main/java/org/apache/flume/source/ThriftSource.java > PRE-CREATION > flume-ng-core/src/test/java/org/apache/flume/source/TestThriftSource.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/9352/diff/ > > > Testing > ------- > > Added several unit tests. > > > Thanks, > > Hari Shreedharan > >
