Hello all,
My problem is that when i run pig script which will enter values into table, it runs some time but gives error some time.
The script is same but when it stops running i stops and starts hbase and after 1 or 2 trials the scripts starts working again.
Why this problem occurs please let me know.
The error i see in task log is :
2013-10-14 12:53:26,672 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2013-10-14 12:53:26,672 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
2013-10-14 12:53:42,190 WARN org.apache.hadoop.hbase.zookeeper.ZKUtil: hconnection Unable to set watcher on znode (/hbase/hbaseid)
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
2013-10-14 12:53:42,191 ERROR org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher: hconnection Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
2013-10-14 12:53:58,705 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper exception: org.apache.zookeeper.KeeperException $ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
2013-10-14 12:53:58,705 ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries
2013-10-14 12:53:58,705 WARN org.apache.hadoop.hbase.zookeeper.ZKUtil: hconnection Unable to set watcher on znode /hbase/master
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master