Yes,HBase 0.90 worked well with hadoop-0.20.203.0. But I want to go back to hbase0.20.6. How to go backup hadoop-020.2 ?
On Fri, May 20, 2011 at 2:55 AM, Jean-Daniel Cryans <jdcry...@apache.org>wrote: > The master log doesn't contain anything special, if anything weird > happened it would have been right after what you pasted. > > Regarding the versions you are using, I'm pretty sure that HBase > 0.20.6 can't work with Hadoop 0.20.203.0 because of the > security-related code. Don't be confused by the "0.20" in "0.20.203" > because this is not 0.20. > > I haven't tested HBase 0.90 with that new Hadoop release but I believe > it should work once you replace the Hadoop jars. > > J-D > > On Thu, May 19, 2011 at 9:18 AM, Florent G. <florent.gauc...@gmail.com> > wrote: > > > > Hi, > > I am trying to run Haddop (hadoop-0.20.203.0) with Hbase (hbase-0.20.6) > on a > > single node cluster in localhost. > > Hadoop start is ok without any errors but when i start Hbase : > > Master is running but cannot see any .ROOT. Table. > > > > I think it is maybe a problem on the hdfs settings from any of the > > components i quoted up there. > > I join you my logs. > > Last point (but not the least) : when i stop hbase, master doesn't answer > > and i have to kill it manually ! > > Hope somebody will have the perfect solution for me !! > > Thx ++ > > hbase-hadoop-master-desktop.log : > > > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:java.io.tmpdir=/tmp > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:java.compiler=<NA> > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:os.name=Linux > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:os.arch=i386 > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:os.version=2.6.32-24-generic > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:user.name=hadoop > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:user.home=/home/hadoop > > 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client > > environment:user.dir=/home/hadoop/hbase-0.20.6 > > 2011-05-19 18:16:37,721 INFO org.apache.zookeeper.ZooKeeper: Initiating > > client connection, connectString=localhost:2181 sessionTimeout=60000 > > watcher=Thread[Thread-1,5,main] > > 2011-05-19 18:16:37,722 INFO org.apache.zookeeper.ClientCnxn: > > zookeeper.disableAutoWatchReset is false > > 2011-05-19 18:16:37,742 INFO org.apache.zookeeper.ClientCnxn: Attempting > > connection to server localhost/127.0.0.1:2181 > > 2011-05-19 18:16:37,772 INFO org.apache.zookeeper.ClientCnxn: Priming > > connection to java.nio.channels.SocketChannel[connected > > local=/127.0.0.1:51311 remote=localhost/127.0.0.1:2181] > > 2011-05-19 18:16:37,781 INFO org.apache.zookeeper.ClientCnxn: Server > > connection successful > > 2011-05-19 18:16:37,811 DEBUG org.apache.hadoop.hbase.master.HMaster: Got > > event None with path null > > 2011-05-19 18:16:37,821 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: -8,101 replyHeader:: -8,53,0 request:: > > 0,v{},v{},v{} response:: null > > 2011-05-19 18:16:37,831 INFO > org.apache.hadoop.hbase.master.RegionManager: > > -ROOT- region unset (but not set to be reassigned) > > 2011-05-19 18:16:37,832 INFO > org.apache.hadoop.hbase.master.RegionManager: > > ROOT inserted into regionsInTransition > > 2011-05-19 18:16:38,074 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 1,4 replyHeader:: 1,53,-101 request:: > > '/hbase/master,T response:: > > 2011-05-19 18:16:38,129 DEBUG > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read: > > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > > NoNode for /hbase/master > > 2011-05-19 18:16:38,135 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 2,3 replyHeader:: 2,53,0 request:: '/hbase,F > > response:: s{12,12,1305801043560,1305801043560,0,11,0,0,0,1,50} > > 2011-05-19 18:16:38,157 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 3,1 replyHeader:: 3,54,0 request:: > > > '/hbase/master,#3132372e302e312e313a3630303030,v{s{31,s{'world,'anyone}}},1 > > response:: '/hbase/master > > 2011-05-19 18:16:38,163 DEBUG > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Wrote master address > > 127.0.1.1:60000 to ZooKeeper > > 2011-05-19 18:16:38,170 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 4,3 replyHeader:: 4,54,0 request:: '/hbase,F > > response:: s{12,12,1305801043560,1305801043560,0,12,0,0,0,2,54} > > 2011-05-19 18:16:38,179 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 5,1 replyHeader:: 5,55,-110 request:: > > '/hbase/shutdown,#7570,v{s{31,s{'world,'anyone}}},0 response:: > > 2011-05-19 18:16:38,184 DEBUG > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: State node exists. > > 2011-05-19 18:16:38,185 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 6,3 replyHeader:: 6,55,0 request:: > > '/hbase/shutdown,T response:: > > s{14,14,1305801043605,1305801043605,0,0,0,0,2,0,14} > > 2011-05-19 18:16:38,187 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 7,4 replyHeader:: 7,55,0 request:: > > '/hbase/master,T response:: > > > #3132372e302e312e313a3630303030,s{54,54,1305821798150,1305821798150,0,0,0,85578333903978497,15,0,54} > > 2011-05-19 18:16:38,187 DEBUG > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Read ZNode > /hbase/master > > got 127.0.1.1:60000 > > 2011-05-19 18:16:38,187 INFO org.apache.hadoop.hbase.master.HMaster: > HMaster > > initialized on 127.0.1.1:60000 > > 2011-05-19 18:16:38,193 DEBUG org.apache.hadoop.hbase.master.HMaster: > > Checking cluster state... > > 2011-05-19 18:16:38,195 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 8,4 replyHeader:: 8,55,-101 request:: > > '/hbase/root-region-server,F response:: > > 2011-05-19 18:16:38,196 DEBUG > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read: > > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > > NoNode for /hbase/root-region-server > > 2011-05-19 18:16:38,203 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null > > finished:false header:: 9,8 replyHeader:: 9,55,-101 request:: > '/hbase/rs,F > > response:: v{} > > 2011-05-19 18:16:38,203 WARN > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read > /hbase/rs > > znode in ZooKeeper: org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/rs > > 2011-05-19 18:16:38,203 DEBUG org.apache.hadoop.hbase.master.HMaster: > This > > is a fresh start, proceeding with normal startup > > 2011-05-19 18:16:38,207 DEBUG org.apache.hadoop.hbase.master.HMaster: No > log > > files to split, proceeding... > > 2011-05-19 18:16:38,216 INFO org.apache.hadoop.metrics.jvm.JvmMetrics: > > Initializing JVM Metrics with processName=Master, sessionId=HMaster > > 2011-05-19 18:16:38,232 INFO > > org.apache.hadoop.hbase.master.metrics.MasterMetrics: Initialized > > 2011-05-19 18:16:51,541 DEBUG org.apache.zookeeper.ClientCnxn: Got ping > > response for sessionid:0x130090a90d10001 after 4ms > > > > > > > > hbase-hadoop-regionserver-desktop.log : > > > > 2011-05-19 18:16:35,737 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10000, packet:: clientPath:null serverPath:null > > finished:false header:: 8,4 replyHeader:: 8,52,-101 request:: > > '/hbase/master,F response:: > > 2011-05-19 18:16:35,737 WARN > > org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to read master > > address from ZooKeeper. Retrying. Error was: > > java.io.IOException: > org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:394) > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddressOrThrow(ZooKeeperWrapper.java:298) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:1285) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:1317) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:434) > > at java.lang.Thread.run(Thread.java:662) > > Caused by: org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > at > > org.apache.zookeeper.KeeperException.create(KeeperException.java:102) > > at > > org.apache.zookeeper.KeeperException.create(KeeperException.java:42) > > at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892) > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:390) > > ... 5 more > > 2011-05-19 18:16:36,743 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10000, packet:: clientPath:null serverPath:null > > finished:false header:: 9,4 replyHeader:: 9,52,-101 request:: > > '/hbase/master,F response:: > > 2011-05-19 18:16:36,744 WARN > > org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to read master > > address from ZooKeeper. Retrying. Error was: > > java.io.IOException: > org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:394) > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddressOrThrow(ZooKeeperWrapper.java:298) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:1285) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:1317) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:434) > > at java.lang.Thread.run(Thread.java:662) > > Caused by: org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > at > > org.apache.zookeeper.KeeperException.create(KeeperException.java:102) > > at > > org.apache.zookeeper.KeeperException.create(KeeperException.java:42) > > at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892) > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:390) > > ... 5 more > > 2011-05-19 18:16:37,748 DEBUG org.apache.zookeeper.ClientCnxn: Reading > reply > > sessionid:0x130090a90d10000, packet:: clientPath:null serverPath:null > > finished:false header:: 10,4 replyHeader:: 10,52,-101 request:: > > '/hbase/master,F response:: > > 2011-05-19 18:16:37,750 WARN > > org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to read master > > address from ZooKeeper. Retrying. Error was: > > java.io.IOException: > org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:394) > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddressOrThrow(ZooKeeperWrapper.java:298) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:1285) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:1317) > > at > > > org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:434) > > at java.lang.Thread.run(Thread.java:662) > > Caused by: org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > at > > org.apache.zookeeper.KeeperException.create(KeeperException.java:102) > > at > > org.apache.zookeeper.KeeperException.create(KeeperException.java:42) > > at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892) > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:390) > > ... 5 more > > 2011-05-19 18:16:38,155 DEBUG org.apache.zookeeper.ClientCnxn: Got > > notification sessionid:0x130090a90d10000 > > -- > > View this message in context: > http://old.nabble.com/Cannot-Run-HBase-%2B-Hadoop-on-a-single-Node-Cluster---Hdfs-Problem-tp31656011p31656011.html > > Sent from the HBase User mailing list archive at Nabble.com. > > > > > -- Thanks & Best regards jiajun