hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavan Sudheendra <pavan0...@gmail.com>
Subject Zookeeper tries to connect to localhost when i have specified another clearly.
Date Wed, 21 Aug 2013 10:40:32 GMT
Hadoop Namenode reports the following error which is unusual :


013-08-21 09:21:12,328 INFO org.apache.zookeeper.ClientCnxn: Opening socket
connection to server localhost/127.0.0.1:2181. Will not attempt to
authenticate using SASL (Unable to locate a login configuration)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-08-21 09:33:11,033 WARN
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient
ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
2013-08-21 09:33:11,033 INFO org.apache.hadoop.hbase.util.RetryCounter:
Sleeping 8000ms before retry #3...
2013-08-21 09:33:11,043 WARN org.apache.hadoop.mapred.Task: Parent died.
Exiting attempt_201307181246_0548_m_000022_2


Because i have specified the address in the java file
    Configuration conf = HBaseConfiguration.create();
    conf.set("hbase.zookeeper.quorum", "10.34.187.170");
    conf.set("hbase.zookeeper.property.clientPort","2181");
    conf.set("hbase.master","10.34.187.170");



All my map tasks fail like this! Please help.. I'm on a timebomb
-- 
Regards-
Pavan

Mime
View raw message