hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayavelu jaisenthilkumar <joysent...@gmail.com>
Subject Re: Failed to create /hbase.... KeeperErrorCode = ConnectionLoss for /hbase
Date Fri, 02 Apr 2010 00:33:30 GMT
Hi,



                   As i said, this master log shows like this.

Wed Mar 31 16:45:56 CEST 2010 Starting master on Hadoopserver
ulimit -n 1024
2010-03-31 16:45:56,621 INFO org.apache.hadoop.hbase.master.HMaster:
vmName=Java HotSpot(TM) Client VM, vmVendor=Sun Microsystems Inc.,
vmVersion=14.1-b02
2010-03-31 16:45:56,622 INFO org.apache.hadoop.hbase.master.HMaster:
vmInputArguments=[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError,
-XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode,
-Djava.net.preferIPv4Stack=true,
-Dhbase.log.dir=/home/hadoop/hbase-0.20.3/logs,
-Dhbase.log.file=hbase-hadoop-master-Hadoopserver.log,
-Dhbase.home.dir=/home/hadoop/hbase-0.20.3, -Dhbase.id.str=hadoop,
-Dhbase.root.logger=INFO,DRFA,
-Djava.library.path=/home/hadoop/hbase-0.20.3/lib/native/Linux-i386-32]
2010-03-31 16:45:56,736 INFO org.apache.hadoop.hbase.master.HMaster: My
address is Hadoopserver:60000
2010-03-31 16:45:57,468 INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
Initializing RPC Metrics with hostName=HMaster, port=60000
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.2.2-888565, built on 12/08/2009 21:51 GMT
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:host.name=Hadoopserver
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_15
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.home=/usr/java/jdk1.6.0_15/jre
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.class.path=/home/hadoop/hbase-0.20.3/conf:/usr/java/jdk1.6.0_15/lib/tools.jar:/home/hadoop/hbase-0.20.3:/home/hadoop/hbase-0.20.3/hbase-0.20.3.jar:/home/hadoop/hbase-0.20.3/hbase-0.20.3-test.jar:/home/hadoop/hbase-0.20.3/lib/AgileJSON-2009-03-30.jar:/home/hadoop/hbase-0.20.3/lib/commons-cli-2.0-SNAPSHOT.jar:/home/hadoop/hbase-0.20.3/lib/commons-el-from-jetty-5.1.4.jar:/home/hadoop/hbase-0.20.3/lib/commons-httpclient-3.0.1.jar:/home/hadoop/hbase-0.20.3/lib/commons-logging-1.0.4.jar:/home/hadoop/hbase-0.20.3/lib/commons-logging-api-1.0.4.jar:/home/hadoop/hbase-0.20.3/lib/commons-math-1.1.jar:/home/hadoop/hbase-0.20.3/lib/hadoop-0.20.1-hdfs127-core.jar:/home/hadoop/hbase-0.20.3/lib/hadoop-0.20.1-test.jar:/home/hadoop/hbase-0.20.3/lib/jasper-compiler-5.5.12.jar:/home/hadoop/hbase-0.20.3/lib/jasper-runtime-5.5.12.jar:/home/hadoop/hbase-0.20.3/lib/jetty-6.1.14.jar:/home/hadoop/hbase-0.20.3/lib/jetty-util-6.1.14.jar:/home/hadoop/hbase-0.20.3/lib/jruby-complete-1.2.0.jar:/home/hadoop/hbase-0.20.3/lib/json.jar:/home/hadoop/hbase-0.20.3/lib/junit-3.8.1.jar:/home/hadoop/hbase-0.20.3/lib/libthrift-r771587.jar:/home/hadoop/hbase-0.20.3/lib/log4j-1.2.15.jar:/home/hadoop/hbase-0.20.3/lib/lucene-core-2.2.0.jar:/home/hadoop/hbase-0.20.3/lib/servlet-api-2.5-6.1.14.jar:/home/hadoop/hbase-0.20.3/lib/xmlenc-0.52.jar:/home/hadoop/hbase-0.20.3/lib/zookeeper-3.2.2.jar:/home/hadoop/hbase-0.20.3/lib/jsp-2.1/jsp-2.1.jar:/home/hadoop/hbase-0.20.3/lib/jsp-2.1/jsp-api-2.1.jar:/home/hadoop/hadoop-0.20.1/conf
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.library.path=/home/hadoop/hbase-0.20.3/lib/native/Linux-i386-32
2010-03-31 16:45:57,762 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.name=Linux
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.arch=i386
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.version=2.6.27.19-5-pae
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.name=hadoop
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.home=/home/hadoop
2010-03-31 16:45:57,763 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.dir=/home/hadoop/hbase-0.20.3/bin
2010-03-31 16:45:57,764 INFO org.apache.zookeeper.ZooKeeper: Initiating
client connection,
connectString=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
sessionTimeout=60000 watcher=Thread[Thread-1,5,main]
2010-03-31 16:45:57,766 INFO org.apache.zookeeper.ClientCnxn:
zookeeper.disableAutoWatchReset is false
2010-03-31 16:45:57,850 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopserver/192.168.1.65:2222
2010-03-31 16:45:57,858 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:43017 remote=Hadoopserver/192.168.1.65:2222]
2010-03-31 16:45:57,881 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:45:57,883 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@11c2b67
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:45:57,885 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:57,885 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:57,933 INFO org.apache.hadoop.hbase.master.RegionManager:
-ROOT- region unset (but not set to be reassigned)
2010-03-31 16:45:57,934 INFO org.apache.hadoop.hbase.master.RegionManager:
ROOT inserted into regionsInTransition
2010-03-31 16:45:58,024 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2010-03-31 16:45:58,422 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient1/192.168.1.2:2222
2010-03-31 16:45:58,423 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:51219 remote=Hadoopclient1/192.168.1.2:2222]
2010-03-31 16:45:58,423 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:45:58,436 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@17b6643
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:45:58,437 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:58,437 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:58,537 WARN
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create /hbase
-- check quorum servers,
currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
    at
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
2010-03-31 16:45:58,549 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient/192.168.1.3:2222
2010-03-31 16:45:58,550 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:56142 remote=Hadoopclient/192.168.1.3:2222]
2010-03-31 16:45:58,550 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:45:58,577 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@76e8a7
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:45:58,577 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:58,577 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:58,678 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2010-03-31 16:45:58,977 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopserver/192.168.1.65:2222
2010-03-31 16:45:58,984 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:43021 remote=Hadoopserver/192.168.1.65:2222]
2010-03-31 16:45:58,985 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:45:58,988 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@186f247
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:45:58,988 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:58,988 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:59,089 WARN
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create /hbase
-- check quorum servers,
currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
    at
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
2010-03-31 16:45:59,470 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient1/192.168.1.2:2222
2010-03-31 16:45:59,471 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:51224 remote=Hadoopclient1/192.168.1.2:2222]
2010-03-31 16:45:59,471 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:45:59,472 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@8c4a77
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:45:59,472 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:59,473 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:45:59,574 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2010-03-31 16:46:00,383 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient/192.168.1.3:2222
2010-03-31 16:46:00,384 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:56148 remote=Hadoopclient/192.168.1.3:2222]
2010-03-31 16:46:00,384 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:00,385 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@2b9406
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:00,386 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:00,386 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:00,487 WARN
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create /hbase
-- check quorum servers,
currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
    at
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
2010-03-31 16:46:00,692 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopserver/192.168.1.65:2222
2010-03-31 16:46:00,693 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:43026 remote=Hadoopserver/192.168.1.65:2222]
2010-03-31 16:46:00,693 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:00,694 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@1035079
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:00,695 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:00,695 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:00,796 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2010-03-31 16:46:00,796 WARN
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create /hbase
-- check quorum servers,
currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
    at
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
2010-03-31 16:46:01,148 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient1/192.168.1.2:2222
2010-03-31 16:46:01,149 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:51229 remote=Hadoopclient1/192.168.1.2:2222]
2010-03-31 16:46:01,149 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:01,150 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@983d95
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:01,151 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:01,151 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:01,252 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2010-03-31 16:46:01,730 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient/192.168.1.3:2222
2010-03-31 16:46:01,731 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:56152 remote=Hadoopclient/192.168.1.3:2222]
2010-03-31 16:46:01,731 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:01,733 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@b1cc87
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:01,733 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:01,733 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:01,834 WARN
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create /hbase
-- check quorum servers,
currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
    at
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
2010-03-31 16:46:02,790 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopserver/192.168.1.65:2222
2010-03-31 16:46:02,793 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:43033 remote=Hadoopserver/192.168.1.65:2222]
2010-03-31 16:46:02,793 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:02,794 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@eaf40c
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:02,794 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:02,794 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:02,895 DEBUG
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/master
2010-03-31 16:46:03,496 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient1/192.168.1.2:2222
2010-03-31 16:46:03,497 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:51237 remote=Hadoopclient1/192.168.1.2:2222]
2010-03-31 16:46:03,497 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:03,498 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@13c6641
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:03,499 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:03,499 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:03,600 WARN
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create /hbase
-- check quorum servers,
currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
    at
org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
2010-03-31 16:46:03,707 INFO org.apache.zookeeper.ClientCnxn: Attempting
connection to server Hadoopclient/192.168.1.3:2222
2010-03-31 16:46:03,708 INFO org.apache.zookeeper.ClientCnxn: Priming
connection to java.nio.channels.SocketChannel[connected local=/
192.168.1.65:56160 remote=Hadoopclient/192.168.1.3:2222]
2010-03-31 16:46:03,708 INFO org.apache.zookeeper.ClientCnxn: Server
connection successful
2010-03-31 16:46:03,709 WARN org.apache.zookeeper.ClientCnxn: Exception
closing session 0x0 to sun.nio.ch.SelectionKeyImpl@5d391d
java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0
lim=4 cap=4]
    at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
2010-03-31 16:46:03,709 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown input
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
2010-03-31 16:46:03,709 WARN org.apache.zookeeper.ClientCnxn: Ignoring
exception during shutdown output
java.net.SocketException: Transport endpoint is not connected
    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
    at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
    at
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)


The ./jps is on the usr/java/jdk1.6.0_15/bin
hadoop@hadoopserver:/bin> ./jps
hadoop@hadoopserver:/bin>.

doesnot show any java running files as i see with ps -ef  | grep java.  ( no
idea)

The Zookeeper log shows like this:
Wed Mar 31 16:45:50 CEST 2010 Starting zookeeper on Hadoopserver
ulimit -n 1024
2010-03-31 16:45:50,809 INFO
org.apache.zookeeper.server.quorum.QuorumPeerConfig: Defaulting to majority
quorums
2010-03-31 16:45:50,892 DEBUG org.apache.hadoop.hbase.zookeeper.HQuorumPeer:
preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@64c34e,
name=log4j:logger=org.apache.hadoop.hbase.zookeeper.HQuorumPeer
2010-03-31 16:45:50,892 DEBUG org.apache.hadoop.hbase: preRegister called.
Server=com.sun.jmx.mbeanserver.JmxMBeanServer@64c34e,
name=log4j:logger=org.apache.hadoop.hbase
2010-03-31 16:45:50,892 INFO
org.apache.zookeeper.server.quorum.QuorumPeerMain: Starting quorum peer
2010-03-31 16:45:50,964 WARN
org.apache.zookeeper.server.persistence.FileTxnLog: Unexpected exception
java.io.IOException: Invalid magic number 0 != 1514884167
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated(FileTxnLog.java:450)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.createInputArchive(FileTxnLog.java:466)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.goToNextLog(FileTxnLog.java:433)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:415)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:394)
    at
org.apache.zookeeper.server.persistence.FileTxnLog.read(FileTxnLog.java:265)
    at
org.apache.zookeeper.server.persistence.FileTxnLog.getLastLoggedZxid(FileTxnLog.java:226)
    at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.getLastLoggedZxid(FileTxnSnapLog.java:194)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.getLastLoggedZxid(QuorumPeer.java:394)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:326)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:315)
    at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:137)
    at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:85)
    at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:75)
2010-03-31 16:45:50,984 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: My election bind port:
3888
2010-03-31 16:45:51,002 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
LOOKING
2010-03-31 16:45:51,023 WARN
org.apache.zookeeper.server.persistence.FileTxnLog: Unexpected exception
java.io.IOException: Invalid magic number 0 != 1514884167
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated(FileTxnLog.java:450)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.createInputArchive(FileTxnLog.java:466)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.goToNextLog(FileTxnLog.java:433)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:415)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:394)
    at
org.apache.zookeeper.server.persistence.FileTxnLog.read(FileTxnLog.java:265)
    at
org.apache.zookeeper.server.persistence.FileTxnLog.getLastLoggedZxid(FileTxnLog.java:226)
    at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.getLastLoggedZxid(FileTxnSnapLog.java:194)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.getLastLoggedZxid(QuorumPeer.java:394)
    at
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:576)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:515)
2010-03-31 16:45:51,027 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: New election:
137438953472
2010-03-31 16:45:51,036 WARN
org.apache.zookeeper.server.quorum.QuorumCnxManager: Cannot open channel to
1 at election address Hadoopclient/192.168.1.3:3888
java.net.ConnectException: Connection refused
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:323)
    at
org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:302)
    at
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:323)
    at
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:296)
    at java.lang.Thread.run(Thread.java:619)
2010-03-31 16:45:51,036 WARN
org.apache.zookeeper.server.quorum.QuorumCnxManager: Cannot open channel to
2 at election address Hadoopclient1/192.168.1.2:3888
java.net.ConnectException: Connection refused
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:323)
    at
org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:302)
    at
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:323)
    at
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:296)
    at java.lang.Thread.run(Thread.java:619)
2010-03-31 16:45:51,037 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 0,
137438953472, 1, 0, LOOKING, LOOKING, 0
2010-03-31 16:45:51,037 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Adding vote
2010-03-31 16:45:51,242 INFO
org.apache.zookeeper.server.quorum.QuorumCnxManager: Have smaller server
identifier, so dropping the connection: (2, 0)
2010-03-31 16:45:51,243 WARN
org.apache.zookeeper.server.quorum.QuorumCnxManager: Cannot open channel to
1 at election address Hadoopclient/192.168.1.3:3888
java.net.ConnectException: Connection refused
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:323)
    at
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(QuorumCnxManager.java:356)
    at
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:603)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:515)
2010-03-31 16:45:51,244 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification time
out: 400
2010-03-31 16:45:51,282 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 2,
133143986180, 1, 0, LOOKING, LOOKING, 2
2010-03-31 16:45:51,282 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Adding vote
2010-03-31 16:45:51,285 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Notification: 0,
137438953472, 1, 0, LOOKING, LOOKING, 2
2010-03-31 16:45:51,285 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: Adding vote
2010-03-31 16:45:51,485 INFO
org.apache.zookeeper.server.quorum.FastLeaderElection: About to leave
instance:0, 137438953472, 0, LEADING
2010-03-31 16:45:51,486 INFO org.apache.zookeeper.server.quorum.QuorumPeer:
LEADING
2010-03-31 16:45:51,491 INFO org.apache.zookeeper.server.quorum.Leader: TCP
NoDelay set to: true
2010-03-31 16:45:51,510 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:zookeeper.version=3.2.2-888565, built on 12/08/2009 21:51
GMT
2010-03-31 16:45:51,510 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:host.name=Hadoopserver
2010-03-31 16:45:51,510 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.version=1.6.0_15
2010-03-31 16:45:51,510 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.vendor=Sun Microsystems Inc.
2010-03-31 16:45:51,510 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.home=/usr/java/jdk1.6.0_15/jre
2010-03-31 16:45:51,510 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server
environment:java.class.path=/home/hadoop/hbase-0.20.3/conf:/usr/java/jdk1.6.0_15/lib/tools.jar:/home/hadoop/hbase-0.20.3:/home/hadoop/hbase-0.20.3/hbase-0.20.3.jar:/home/hadoop/hbase-0.20.3/hbase-0.20.3-test.jar:/home/hadoop/hbase-0.20.3/lib/AgileJSON-2009-03-30.jar:/home/hadoop/hbase-0.20.3/lib/commons-cli-2.0-SNAPSHOT.jar:/home/hadoop/hbase-0.20.3/lib/commons-el-from-jetty-5.1.4.jar:/home/hadoop/hbase-0.20.3/lib/commons-httpclient-3.0.1.jar:/home/hadoop/hbase-0.20.3/lib/commons-logging-1.0.4.jar:/home/hadoop/hbase-0.20.3/lib/commons-logging-api-1.0.4.jar:/home/hadoop/hbase-0.20.3/lib/commons-math-1.1.jar:/home/hadoop/hbase-0.20.3/lib/hadoop-0.20.1-hdfs127-core.jar:/home/hadoop/hbase-0.20.3/lib/hadoop-0.20.1-test.jar:/home/hadoop/hbase-0.20.3/lib/jasper-compiler-5.5.12.jar:/home/hadoop/hbase-0.20.3/lib/jasper-runtime-5.5.12.jar:/home/hadoop/hbase-0.20.3/lib/jetty-6.1.14.jar:/home/hadoop/hbase-0.20.3/lib/jetty-util-6.1.14.jar:/home/hadoop/hbase-0.20.3/lib/jruby-complete-1.2.0.jar:/home/hadoop/hbase-0.20.3/lib/json.jar:/home/hadoop/hbase-0.20.3/lib/junit-3.8.1.jar:/home/hadoop/hbase-0.20.3/lib/libthrift-r771587.jar:/home/hadoop/hbase-0.20.3/lib/log4j-1.2.15.jar:/home/hadoop/hbase-0.20.3/lib/lucene-core-2.2.0.jar:/home/hadoop/hbase-0.20.3/lib/servlet-api-2.5-6.1.14.jar:/home/hadoop/hbase-0.20.3/lib/xmlenc-0.52.jar:/home/hadoop/hbase-0.20.3/lib/zookeeper-3.2.2.jar:/home/hadoop/hbase-0.20.3/lib/jsp-2.1/jsp-2.1.jar:/home/hadoop/hbase-0.20.3/lib/jsp-2.1/jsp-api-2.1.jar:/home/hadoop/hadoop-0.20.1/conf
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server
environment:java.library.path=/home/hadoop/hbase-0.20.3/lib/native/Linux-i386-32
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.io.tmpdir=/tmp
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.compiler=<NA>
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.name=Linux
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.arch=i386
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.version=2.6.27.19-5-pae
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.name=hadoop
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.home=/home/hadoop
2010-03-31 16:45:51,511 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.dir=/home/hadoop/hbase-0.20.3
2010-03-31 16:45:51,514 INFO org.apache.zookeeper.server.ZooKeeperServer:
Created server
2010-03-31 16:45:51,749 INFO
org.apache.zookeeper.server.persistence.FileSnap: Reading snapshot
/tmp/hbase-hadoop/zookeeper/version-2/snapshot.2000000000
2010-03-31 16:45:51,769 WARN org.apache.zookeeper.server.quorum.QuorumPeer:
Unexpected exception
java.io.IOException: Invalid magic number 0 != 1514884167
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated(FileTxnLog.java:450)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.createInputArchive(FileTxnLog.java:466)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.goToNextLog(FileTxnLog.java:433)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:415)
    at
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:394)
    at
org.apache.zookeeper.server.persistence.FileTxnLog.read(FileTxnLog.java:265)
    at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:126)
    at
org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:203)
    at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:260)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:538)
2010-03-31 16:45:51,770 INFO org.apache.zookeeper.server.quorum.Leader:
Shutdown called
java.lang.Exception: shutdown Leader! reason: Forcing shutdown
    at org.apache.zookeeper.server.quorum.Leader.shutdown(Leader.java:371)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:544)



Can anyone help me please.

Regs,
Senthil

On 1 April 2010 20:44, Jean-Daniel Cryans <jdcryans@apache.org> wrote:

> If the master doesn't shut down, it means it's waiting on something...
> you looked at the logs?
>
> You say you ran ./jps ... did you install that in the local directory?
> Also what do you mean "it didn't work as well"? What didn't work? The
> command didn't return anything or the HMaster process wasn't listed?
>
> Also did you check the zookeeper logs like Patrick said? You should
> see in there when the master tries to connect, and you should see why
> it wasn't able to do so.
>
> To help you I need more data about your problem.
>
> J-D
>
> On Thu, Apr 1, 2010 at 11:39 AM, jayavelu jaisenthilkumar
> <joysenthil@gmail.com> wrote:
> > Hi Daniel,
> >                   I removed the property tags from the hbase-site.xml.
> >
> > Same error occurs.
> >
> > Also one strange behaviour,  If i give ./stop-hbase.sh , the terminal
> says
> > stopping master ....................................
> > and never stopped.
> >
> > I couldnt able to ./jps to check the java in this scenario, it didnt work
> > aswell.  So I killed the Hmaster start ( ps -ef | grep java)
> >
> > Also manually need to kill Hregionserver both on master, slave1 and
> slave2.
> >
> > Any suggestions please.......
> >
> > Regs,
> > senthil
> > On 31 March 2010 19:15, Jean-Daniel Cryans <jdcryans@apache.org> wrote:
> >
> >> You set the tick time like this:
> >>
> >>  <property>
> >>   <name>hbase.zookeeper.property.tickTime</name>
> >>   <value>1</value>
> >>   <description>Property from ZooKeeper's config zoo.cfg.
> >>   The number of milliseconds of each tick.  See
> >>   zookeeper.session.timeout description.
> >>   </description>
> >>
> >> 1 means HBase has to report to zookeeper every 1 millisecond and if
> >> for any reason it doesn't after 20ms, the session is expired (!!). I
> >> recommend using the default value.
> >>
> >> Also you should keep the same config on every node, rsync can do
> wonders.
> >>
> >> J-D
> >>
> >> On Wed, Mar 31, 2010 at 9:24 AM, jayavelu jaisenthilkumar
> >> <joysenthil@gmail.com> wrote:
> >> > Hi,
> >> >            I am using 1 master and 2 slaves one has password for ssh.
> >> >
> >> > I am using hadoop0.20.1 and hbase0.20.3(direct one not upgraded one)
> >> >
> >> > 1)The slave one with password is could not be disabled, i removed the
> >> whole
> >> > .ssh directory try to ssh-keygen with passwordless phrase, still i am
> >> asked
> >> > for the password  when i
> >> > "ssh localhost"
> >> >
> >> > 2) I am able to run hadoop and successfuly run the Mapreduce in the
> >> hadoop
> >> > environment as per the Running Hadoop On Ubuntu Linux (Multi-Node
> >> Cluster)
> >> > by noel
> >> >
> >> > 3) I am now following the tutorial hbase: overview HBase 0.20.3 API
> >> >
> >> > Its not clearly stated as the mulitnode cluster hadoop for the
> >> distributed
> >> > mode hbase.
> >> >
> >> > I ran the hdfs and the hbase using start-dfs.sh and start-hbase.sh
> >> > respectively.
> >> >
> >> > The master log indicates connection loss on the /hbase :  ( is this
> hbase
> >> is
> >> > created by Hbase or should we do to create it again
> >> >
> >> > 2010-03-31 16:45:57,850 INFO org.apache.zookeeper.
> >> > ClientCnxn: Attempting connection to server Hadoopserver/
> >> 192.168.1.65:2222
> >> > 2010-03-31 16:45:57,858 INFO org.apache.zookeeper.ClientCnxn: Priming
> >> > connection to java.nio.channels.SocketChannel[connected local=/
> >> > 192.168.1.65:43017 remote=Hadoopserver/192.168.1.65:2222]
> >> > 2010-03-31 16:45:57,881 INFO org.apache.zookeeper.ClientCnxn: Server
> >> > connection successful
> >> > 2010-03-31 16:45:57,883 WARN org.apache.zookeeper.ClientCnxn:
> Exception
> >> > closing session 0x0 to sun.nio.ch.SelectionKeyImpl@11c2b67
> >> > java.io.IOException: Read error rc = -1
> java.nio.DirectByteBuffer[pos=0
> >> > lim=4 cap=4]
> >> >    at
> >> org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
> >> > 2010-03-31 16:45:57,885 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> >> > exception during shutdown input
> >> > java.net.SocketException: Transport endpoint is not connected
> >> >    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
> >> >    at
> >> > sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
> >> >    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
> >> >    at
> >> >
> org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
> >> > 2010-03-31 16:45:57,885 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> >> > exception during shutdown output
> >> > java.net.SocketException: Transport endpoint is not connected
> >> >    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
> >> >    at
> >> >
> sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
> >> >    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
> >> >    at
> >> >
> org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
> >> > 2010-03-31 16:45:57,933 INFO
> >> org.apache.hadoop.hbase.master.RegionManager:
> >> > -ROOT- region unset (but not set to be reassigned)
> >> > 2010-03-31 16:45:57,934 INFO
> >> org.apache.hadoop.hbase.master.RegionManager:
> >> > ROOT inserted into regionsInTransition
> >> > 2010-03-31 16:45:58,024 DEBUG
> >> > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
> >> > org.apache.zookeeper.KeeperException$ConnectionLossException:
> >> > KeeperErrorCode = ConnectionLoss for /hbase/master
> >> > 2010-03-31 16:45:58,422 INFO org.apache.zookeeper.ClientCnxn:
> Attempting
> >> > connection to server Hadoopclient1/192.168.1.2:2222
> >> > 2010-03-31 16:45:58,423 INFO org.apache.zookeeper.ClientCnxn: Priming
> >> > connection to java.nio.channels.SocketChannel[connected local=/
> >> > 192.168.1.65:51219 remote=Hadoopclient1/192.168.1.2:2222]
> >> > 2010-03-31 16:45:58,423 INFO org.apache.zookeeper.ClientCnxn: Server
> >> > connection successful
> >> > 2010-03-31 16:45:58,436 WARN org.apache.zookeeper.ClientCnxn:
> Exception
> >> > closing session 0x0 to sun.nio.ch.SelectionKeyImpl@17b6643
> >> > java.io.IOException: Read error rc = -1
> java.nio.DirectByteBuffer[pos=0
> >> > lim=4 cap=4]
> >> >    at
> >> org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
> >> > 2010-03-31 16:45:58,437 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> >> > exception during shutdown input
> >> > java.net.SocketException: Transport endpoint is not connected
> >> >    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
> >> >    at
> >> > sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
> >> >    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
> >> >    at
> >> >
> org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
> >> > 2010-03-31 16:45:58,437 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> >> > exception during shutdown output
> >> > java.net.SocketException: Transport endpoint is not connected
> >> >    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
> >> >    at
> >> >
> sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
> >> >    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
> >> >    at
> >> >
> org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
> >> > 2010-03-31 16:45:58,537 WARN
> >> > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to create
> >> /hbase
> >> > -- check quorum servers,
> >> > currently=Hadoopclient1:2222,Hadoopclient:2222,Hadoopserver:2222
> >> > org.apache.zookeeper.KeeperException$ConnectionLossException:
> >> > KeeperErrorCode = ConnectionLoss for /hbase
> >> >    at
> >> org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
> >> >    at
> >> org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
> >> >    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.writeMasterAddress(ZooKeeperWrapper.java:516)
> >> >    at
> >> >
> >>
> org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:263)
> >> >    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:245)
> >> >    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> >> Method)
> >> >    at
> >> >
> >>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >> >    at
> >> >
> >>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >> >    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >> >    at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241)
> >> >    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282)
> >> > 2010-03-31 16:45:58,549 INFO org.apache.zookeeper.ClientCnxn:
> Attempting
> >> > connection to server Hadoopclient/192.168.1.3:2222
> >> > 2010-03-31 16:45:58,550 INFO org.apache.zookeeper.ClientCnxn: Priming
> >> > connection to java.nio.channels.SocketChannel[connected local=/
> >> > 192.168.1.65:56142 remote=Hadoopclient/192.168.1.3:2222]
> >> > 2010-03-31 16:45:58,550 INFO org.apache.zookeeper.ClientCnxn: Server
> >> > connection successful
> >> > 2010-03-31 16:45:58,577 WARN org.apache.zookeeper.ClientCnxn:
> Exception
> >> > closing session 0x0 to sun.nio.ch.SelectionKeyImpl@76e8a7
> >> > java.io.IOException: Read error rc = -1
> java.nio.DirectByteBuffer[pos=0
> >> > lim=4 cap=4]
> >> >    at
> >> org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:701)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:945)
> >> > 2010-03-31 16:45:58,577 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> >> > exception during shutdown input
> >> > java.net.SocketException: Transport endpoint is not connected
> >> >    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
> >> >    at
> >> > sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640)
> >> >    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
> >> >    at
> >> >
> org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
> >> > 2010-03-31 16:45:58,577 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> >> > exception during shutdown output
> >> > java.net.SocketException: Transport endpoint is not connected
> >> >    at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
> >> >    at
> >> >
> sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651)
> >> >    at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
> >> >    at
> >> >
> org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
> >> >    at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
> >> > 2010-03-31 16:45:58,678 DEBUG
> >> > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
> >> > org.apache.zookeeper.KeeperException$ConnectionLossException:
> >> > KeeperErrorCode = ConnectionLoss for /hbase/master
> >> >
> >> > my hbase-site.xml ( Master)
> >> > <configuration>
> >> >  <property>
> >> >    <name>hbase.rootdir</name>
> >> >    <value>hdfs://Hadoopserver:54310/hbase</value>
> >> >    <description>The directory shared by region servers.
> >> >    Should be fully-qualified to include the filesystem to use.
> >> >    E.g: hdfs://NAMENODE_SERVER:PORT/HBASE_ROOTDIR
> >> >    </description>
> >> >  </property>
> >> >  <property>
> >> >    <name>hbase.cluster.distributed</name>
> >> >    <value>true</value>
> >> >    <description>The mode the cluster will be in. Possible values are
> >> >      false: standalone and pseudo-distributed setups with managed
> >> Zookeeper
> >> >      true: fully-distributed with unmanaged Zookeeper Quorum (see
> >> > hbase-env.sh)
> >> >    </description>
> >> >  </property>
> >> >  <property>
> >> >    <name>hbase.zookeeper.quorum</name>
> >> >    <value>Hadoopserver,Hadoopclient1,Hadoopclient</value>
> >> >    <description>Comma separated list of servers in the ZooKeeper
> Quorum.
> >> >    For example, "host1.mydomain.com,host2.mydomain.com,
> >> host3.mydomain.com".
> >> >    By default this is set to localhost for local and
> pseudo-distributed
> >> > modes
> >> >    of operation. For a fully-distributed setup, this should be set to
> a
> >> > full
> >> >    list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in
> >> > hbase-env.sh
> >> >    this is the list of servers which we will start/stop ZooKeeper on.
> >> >    </description>
> >> >  </property>
> >> >  <property>
> >> >    <name>hbase.zookeeper.property.tickTime</name>
> >> >    <value>1</value>
> >> >    <description>Property from ZooKeeper's config zoo.cfg.
> >> >    The number of milliseconds of each tick.  See
> >> >    zookeeper.session.timeout description.
> >> >    </description>
> >> >  </property>
> >> > <property>
> >> >    <name>zookeeper.retries</name>
> >> >    <value>5</value>
> >> >    <description>How many times to retry connections to ZooKeeper. Used
> >> for
> >> >      reading/writing root region location, checking/writing out of
> safe
> >> > mode.
> >> >      Used together with ${zookeeper.pause} in an exponential backoff
> >> > fashion
> >> >      when making queries to ZooKeeper.
> >> >    </description>
> >> >  </property>
> >> > <property>
> >> > <name>hbase.zookeeper.property.clientPort</name>
> >> > <value>2222</value>
> >> > <description>Property from ZooKeeper's config zoo.cfg.
> >> > the port at which the clients will connect.
> >> > </description>
> >> > </property>
> >> >
> >> > <property>
> >> >  <name>dfs.replication</name>
> >> > <value>3</value>
> >> > <description>Default block replication.
> >> > The actual number of replications can be specified when the file is
> >> created.
> >> > The default is used if replication is not specified in create time.
> >> > </description>
> >> > </property>
> >> > </configuration>
> >> >
> >> >
> >> > The hbase-site.xml in slave1, slave2
> >> > <configuration>
> >> >  <property>
> >> >    <name>hbase.rootdir</name>
> >> >    <value>hdfs://Hadoopserver:54310/hbase</value>
> >> >    <description>The directory shared by region servers.
> >> >    Should be fully-qualified to include the filesystem to use.
> >> >    E.g: hdfs://NAMENODE_SERVER:PORT/HBASE_ROOTDIR
> >> >    </description>
> >> >  </property>
> >> >  <property>
> >> >    <name>hbase.cluster.distributed</name>
> >> >    <value>true</value>
> >> >    <description>The mode the cluster will be in. Possible values are
> >> >      false: standalone and pseudo-distributed setups with managed
> >> Zookeeper
> >> >      true: fully-distributed with unmanaged Zookeeper Quorum (see
> >> > hbase-env.sh)
> >> >    </description>
> >> >  </property>
> >> >  <property>
> >> >    <name>hbase.zookeeper.quorum</name>
> >> >    <value>Hadoopserver,Hadoopclient1,Hadoopclient</value>
> >> >    <description>Comma separated list of servers in the ZooKeeper
> Quorum.
> >> >    For example, "host1.mydomain.com,host2.mydomain.com,
> >> host3.mydomain.com".
> >> >    By default this is set to localhost for local and
> pseudo-distributed
> >> > modes
> >> >    of operation. For a fully-distributed setup, this should be set to
> a
> >> > full
> >> >    list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in
> >> > hbase-env.sh
> >> >    this is the list of servers which we will start/stop ZooKeeper on.
> >> >    </description>
> >> >  </property>
> >> >
> >> > <property>
> >> > <name>hbase.zookeeper.property.clientPort</name>
> >> > <value>2222</value>
> >> > <description>Property from ZooKeeper's config zoo.cfg.
> >> > the port at which the clients will connect.
> >> > </description>
> >> > </property>
> >> >
> >> > <property>
> >> >  <name>dfs.replication</name>
> >> > <value>3</value>
> >> > <description>Default block replication.
> >> > The actual number of replications can be specified when the file is
> >> created.
> >> > The default is used if replication is not specified in create time.
> >> > </description>
> >> > </property>
> >> > </configuration>
> >> >
> >> > Regionservers ( only on Master in my case Hadoopserver)
> >> >
> >> > Hadoopserver
> >> > Hadoopclient1
> >> > Hadoopclient
> >> >
> >> >
> >> > Regionservers ( on slaves)
> >> > localhost
> >> >
> >> > Blocked with this error for the past one week. Googled so much didnt
> get
> >> any
> >> > solution.
> >> >
> >> >
> >> > REgs.
> >> > senthil
> >> >
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message