incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baojian Zhou <baojian.zhou.b...@gmail.com>
Subject Re: TCPEmitter wrong
Date Tue, 04 Jun 2013 02:49:56 GMT
i found my problem, i forgot to change my iptables


2013/6/4 baojian Zhou <baojian.zhou.buaa@gmail.com>

> can anyone tell me why, these two machine can connect to each other
> thank you
>
>
> 2013/6/4 baojian Zhou <baojian.zhou.buaa@gmail.com>
>
>> when i use run the s4 application and i start the adapter, then got the
>> following errors:
>> 10:14:55.017 [remote-sender-0] WARN  org.apache.s4.comm.tcp.TCPEmitter -
>> Could not connect to partition 0, discarding message
>> 10:14:55.019 [remote-sender-0] WARN  org.apache.s4.comm.tcp.TCPEmitter -
>> Could not connect to partition 0, discarding message
>> 10:14:55.020 [New I/O client boss #2-0] ERROR
>> org.apache.s4.comm.tcp.TCPEmitter - Unexpected exception
>> java.net.NoRouteToHostException: No route to host
>>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>> ~[na:1.6.0_17]
>>         at
>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592)
>> ~[na:1.6.0_17]
>>         at
>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:496)
>> ~[netty-3.5.11.Final.jar:na]
>>         at
>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:452)
>> ~[netty-3.5.11.Final.jar:na]
>>         at
>> org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:365)
>> ~[netty-3.5.11.Final.jar:na]
>>         at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>> [na:1.6.0_17]
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>> [na:1.6.0_17]
>>         at java.lang.Thread.run(Thread.java:636) [na:1.6.0_17]
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message