Hi Yongyao, This has to do with your /etc/hosts file. This is a typical issue when databases such as HBase and aAccumulo have never been installed before. Please scope this out online and let us know if the problem persists. Lewis
On Thu, Jul 20, 2017 at 1:56 PM yjiang8 <yjia...@masonlive.gmu.edu> wrote: > Hi, > > I have been following this tutorial, > > http://gora.apache.org/current/tutorial.html > http://gora.apache.org/current/quickstart.html > > After I executed the "mvn clean install" command, it gives me the error > message below, I wonder if someone can help with this issue. > > java.net.ConnectException: Connection refused > > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > > at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) > > at > org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) > > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068) > > 2017-07-20 16:05:19,014 INFO [main-SendThread(localhost:56321)] > zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect(966)) - Opening > socket connection to server localhost/127.0.0.1:56321. Will not attempt > to authenticate using SASL (unknown error) > > 2017-07-20 16:05:19,015 WARN [main-SendThread(localhost:56321)] > zookeeper.ClientCnxn (ClientCnxn.java:run(1089)) - Session 0x0 for server > null, unexpected error, closing socket connection and attempting reconnect > > Thanks, > Yongyao > -- http://home.apache.org/~lewismc/ @hectorMcSpector http://www.linkedin.com/in/lmcgibbney