On Thu, Mar 1, 2012 at 5:20 AM, Manuel de Ferran <[email protected]> wrote: > Well, I can not reproduce it. But I take the opportunity to digress a bit. > Considering that this is a fresh start and that everything have been > stopped gracefully : is there any risk to remove the zookeeper content ? > What are the valuable data there ?
Nothing special if you're not using replication (in which case you would have the replication metadata). > Yes right, here are the details : > > hbase shell output : > > HBase Shell; enter 'help<RETURN>' for list of supported commands. > Type "exit<RETURN>" to leave the HBase Shell > Version 0.92.0, r1231986, Mon Jan 16 13:16:35 UTC 2012 > > hbase(main):001:0> list > TABLE > > > ERROR: undefined method `map' for nil:NilClass > > Here is some help for this command: > List all tables in hbase. Optional regular expression parameter could > be used to filter the output. Examples: > > hbase> list > hbase> list 'abc.*' > > > gives the corresponding error in master logs : > 2012-03-01 08:56:33,338 WARN org.apache.hadoop.hbase.master.HMaster: Failed > getting all descriptors > org.apache.hadoop.hbase.TableExistsException: No descriptor for gre014749 > walking thru the HDFS: > hadoop_storage fs -lsr /hbase/gre014749 > drwxr-xr-x - hadoop supergroup 0 2011-07-22 07:24 > /hbase/gre014749/196843901 > -rw-r--r-- 3 hadoop supergroup 188392 2011-07-22 07:24 > /hbase/gre014749/196843901/oldlogfile.log > > I could not find any reference to this region in status 'detailed'. And I > guess that if the region was in use, there should be additional files > under 196843901/ ? It seems that not only is that region isn't used, but that table isn't in use either? Is this right? If so you may have hit this bug: https://issues.apache.org/jira/browse/HBASE-5415 J-D
