Charan,
did you restart HBase services after restarting HDFS?
THis needs to be done, as HBase may lost track of the files during HDFS 
unavailability.

Thank you!

Sincerely,
Leonid Fedotov


On Mar 1, 2013, at 12:33 AM, charan raj wrote:

> hi,
> 
> I am currently using a 5 node cluster configured in amazon.The namenode
> and secondary namenode or in different node. I have shut down the cluster
> in amazon instance directly without shuting down hbase and hadoop,But when
> i started the amazon instance, here is the problem am facing with hbase am
> not able to scan the data present in hbase table and below are the error
> that is generated with hbck,masterlog and zookeeper log.
> 
>         hbase/logs masterlog
> ===================
> error while splitting logs in
> [hdfs://servername:9000/hbase/.logs/servername,60020,1358343873518-splitting,
> hdfs://servername:9000/hbase/.logs/servername,60020,1361892283588-splitting,
> hdfs://servername:9000/hbase/.logs/servername,60020,1358343874434-splitting,
> hdfs://servername:9000/hbase/.logs/servername,60020,1361892283510-splitting,
> hdfs://servername:9000/hbase/.logs/servername,60020,1358343873830-splitting,
> hdfs://servername:9000/hbase/.logs/servername,60020,1361892283643-splitting]
> installed = 1 but only 0 done
> Task = installed = 1 done = 0 error = 1
>        at
> org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:268)
>        at
> org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:279)
>        at
> org.apache.hadoop.hbase.master.MasterFileSystem.splitLogAfterStartup(MasterFileSystem.java:219)
>        at
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:497)
>        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:336)
>        at java.lang.Thread.run(Thread.java:722)
> 
> hbase/logs zookeeper log
> =========================
> 2013-03-01 07:12:53,000 INFO
> org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
> KeeperException when processing sessionid:0x13d214fae680005 type:setData
> cxid:0x1c6f zxid:0x49ac txntype:-1 reqpath:n/a Error
> Path:/hbase/splitlog/hdfs%3A%2F%2Fservername%3A9000%2Fhbase%2F.logs%2Fservername%2C60020%2C1358343873830-splitting%2Fservername%252C60020%252C1358343873830.1360329708655
> Error:KeeperErrorCode = BadVersion for
> /hbase/splitlog/hdfs%3A%2F%2Fservername%3A9000%2Fhbase%2F.logs%2Fservername%2C60020%2C1358343873830-splitting%2Fservername%252C60020%252C1358343873830.1360329708655
> 
> bin/hbase hbck error
> ===================
> Version: 0.92.1
> 13/03/01 07:15:17 DEBUG
> client.HConnectionManager$HConnectionImplementation: Lookedup root region
> location,
> connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@58c9defc;
> serverName=
> ERROR: Root Region or some of its attributes are null.
> ERROR: Encountered fatal error. Exiting...
> 
> 
> 
> I tried hbck -fix and other options which will repair meta but it is of no
> use,can any one help me in solving this issue...........
> 
> Regards,
> Charan

Reply via email to