Failing unit tests
------------------
Key: FLUME-838
URL: https://issues.apache.org/jira/browse/FLUME-838
Project: Flume
Issue Type: Bug
Components: Build
Affects Versions: NG alpha 2
Environment: flume-728 branch, commit object
"fe9104235073fbf24892901bc930a209ae63e2a5"
Reporter: Will McQueen
1) [flume-ng-core] TestAvroSource.testRequest() fails with "no route to host"
java.lang.RuntimeException: java.net.NoRouteToHostException: No route to host
at
org.apache.avro.ipc.NettyTransceiver.<init>(NettyTransceiver.java:104)
at org.apache.avro.ipc.NettyTransceiver.<init>(NettyTransceiver.java:76)
at
org.apache.flume.source.TestAvroSource.testRequest(TestAvroSource.java:114)
Caused by: java.net.NoRouteToHostException: No route to host
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
at
org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:384)
at
org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:354)
at
org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:276)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2) [flume-ng-node] TestNetcatSource.testLifecycle() fails because
channel.take() returns a null.
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at
org.apache.flume.source.TestNetcatSource.testLifecycle(TestNetcatSource.java:90)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira