执行HBase的MR程序出现的一个异常

最近在某台机器上面执行MR时,出现了以下这样的异常,信息如下:

2013-12-20 16:58:48,745 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.dir=/data3/mapred/local/taskTracker/hadoop/jobcache/job_201311152318_24137/attempt_201311152318_24137_m_000001_2/work
2013-12-20 16:58:48,748 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection
2013-12-20 16:58:48,775 INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: The identifier of this process is 27079@slave9
2013-12-20 16:58:48,825 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (Unable to locate a login configuration)
2013-12-20 16:58:48,831 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
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-12-20 16:58:48,966 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper exception: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master


补充:

2013-12-20 16:58:48,745 INFO org.apache.zookeeper.ZooKeeper: Client environment:user.dir=/data3/mapred/local/taskTracker/hadoop/jobcache/job_201311152318_24137/attempt_201311152318_24137_m_000001_2/work
2013-12-20 16:58:48,748 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection
2013-12-20 16:58:48,775 INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: The identifier of this process is 27079@slave9
2013-12-20 16:58:48,825 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (Unable to locate a login configuration)
2013-12-20 16:58:48,831 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
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-12-20 16:58:48,966 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper exception: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
2013-12-20 16:58:48,969 INFO org.apache.hadoop.hbase.util.RetryCounter: Sleeping 2000ms before retry #1...

你可能感兴趣的:(执行HBase的MR程序出现的一个异常)