Flume agent throws java.net.ConnectException: Connection refused -


i have been using flume while now, have got agent , collector running on same machine.

configuration

agent: exec("/usr/bin/tail -n +0 -f /path/to/file") | agente2esink("hostname", 35855) collector: collectorsource(35855) | collector(10000) { collectorsink("/hdfs/path/to/sink","name") } 

facing issues in agent node:

2012-06-04 19:13:33,625 [naive file wal consumer-27] info debug.insistentopendecorator: open attempt 0 failed, backoff (1000ms): failed open thrift event sink hostname:35855 : java.net.connectexception: connection refused 2012-06-04 19:13:34,625 [logicalnode hostname-19] error connector.directdriver: expected active timed out in state opening 2012-06-04 19:13:34,632 [naive file wal consumer-27] info debug.insistentopendecorator: open attempt 1 failed, backoff (2000ms): failed open thrift event sink hostname:35855 : java.net.connectexception: connection refused 2012-06-04 19:13:36,635 [naive file wal consumer-27] info debug.insistentopendecorator: open attempt 2 failed, backoff (4000ms): failed open thrift event sink hostname:35855 : java.net.connectexception: connection refused 

and empty acks sent continuously

2012-06-04 19:19:56,960 [roll-triggerthread-0] info endtoend.acklistener$empty: empty ack listener began 20120604-191956958+0530.881565921235084.00000026 2012-06-04 19:20:07,043 [roll-triggerthread-0] info hdfs.seqfileeventsink: closed /tmp/flume-user1/agent/hostname/writing/20120604-191956958+0530.881565921235084.00000026 

i dont understand why connection refused. there system level changes needs done ?

note: collector listening port agent unable send data through 35855 port.

can me problem.

thanks

if running both agent , collector on same box, should using localhost address.

agente2esink("localhost", 35855) 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -