Thanks. replacing localhost by IP address in tracer file removed the error. 

> Date: Tue, 6 Jan 2015 23:16:39 -0500
> From: [email protected]
> To: [email protected]
> Subject: Re: connection refused error
> 
> Hi Ranjan,
> 
> Looks like that tablet server is trying to send traces (metrics/timings) 
> to the tracer (Accumulo trace server which writes them to an Accumulo 
> table).
> 
> Can you verify that the tracer is actually running on your system? See 
> $ACCUMULO_CONF_DIR/tracers for the hosts that they are running on. Also, 
> make sure you provided a reachable address if you're running on more 
> than one node (e.g. not localhost).
> 
> Ranjan Sen wrote:
> > I am getting the following error - Not sure why.
> >
> >
> > 06 21:57:35,0450    tserver:SndBgDDBPLNX05.sandlot.local    15350   
> > ERROR
> >     
> >
> > java.net.ConnectException: Connection refused
> >     java.net.ConnectException: Connection refused
> >             at java.net.PlainSocketImpl.socketConnect(Native Method)
> >             at 
> > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
> >             at 
> > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
> >             at 
> > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
> >             at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> >             at java.net.Socket.connect(Socket.java:579)
> >             at java.net.Socket.connect(Socket.java:528)
> >             at 
> > org.apache.accumulo.trace.instrument.receivers.SendSpansViaThrift.createDestination(SendSpansViaThrift.java:53)
> >             at 
> > org.apache.accumulo.trace.instrument.receivers.SendSpansViaThrift.createDestination(SendSpansViaThrift.java:34)
> >             at 
> > org.apache.accumulo.trace.instrument.receivers.AsyncSpanReceiver.sendSpans(AsyncSpanReceiver.java:87)
> >             at 
> > org.apache.accumulo.trace.instrument.receivers.AsyncSpanReceiver$1.run(AsyncSpanReceiver.java:63)
> >             at java.util.TimerThread.mainLoop(Timer.java:555)
> >             at java.util.TimerThread.run(Timer.java:505)
> >
                                          

Reply via email to