My rootdir is /hbase, but my directory structure under it doesn't contain hbase.version. Here's what I've got:
[user@hbase-prod2-master (ip-10-0-1-165) ~]$ sudo -u hdfs hdfs dfs -ls -R /hbase/data drwxr-xr-x - hdfs hadoop 0 2016-01-01 21:52 /hbase/data/hbase drwxr-xr-x - hdfs hadoop 0 2016-01-01 21:52 /hbase/data/hbase/meta drwxr-xr-x - hdfs hadoop 0 2016-01-01 21:52 /hbase/data/hbase/meta/1588230740 -rw-r--r-- 2 hdfs hadoop 32 2016-01-01 21:52 /hbase/data/hbase/meta/1588230740/.regioninfo drwxr-xr-x - hdfs hadoop 0 2016-01-01 21:52 /hbase/data/hbase/meta/1588230740/info drwxr-xr-x - hdfs hadoop 0 2016-01-01 21:52 /hbase/data/hbase/meta/1588230740/recovered.edits -rw-r--r-- 2 hdfs hadoop 0 2016-01-01 21:52 /hbase/data/hbase/meta/1588230740/recovered.edits/2.seqid I've run the OfflineMetaRepair and tried various forms of "hbase hbck". Hope this helps - Shane O. ======================== Shane O'Donnell <https://www.knownormal.com/> 4819 Emperor Blvd., Ste 400 Durham, North Carolina 27703 tel: +1.424.262.KNOW x703 skype: shaneodonnell email: [email protected] ======================== :wq! On Sun, Jan 3, 2016 at 10:54 PM, Ted Yu <[email protected]> wrote: > bq. HBase file layout needs to be upgraded. You have version null and I > want version 8. > Can you check hbase.version under hbase rootdir ? > On a healthy system, you should see something like the following: > > hdfs dfs -cat /apps/hbase/data/hbase.version > PBUF > 8 > > Cheers > > On Sun, Jan 3, 2016 at 7:21 PM, Shane O'Donnell <[email protected]> > wrote: > > > Hi - > > > > My cluster has been running perfectly until the other day when I found it > > down. > > > > The error seems to be related not being able to get the ClusterID from > > zookeeper, but I'm stumped as to what to do about it. This seems to be > the > > relevant part of the master's log: > > > > http://pastebin.com/C3iaxM3p > > > > starting at line 235 (also highlighted). > > > > Any help is appreciated! > > > > Thanks - > > > > Shane O. > > ======================== > > Shane O'Donnell > > < > > > http://t.sidekickopen32.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs7grXnlW7d-5Xx3MqgJjW65jBJH56dSQdf3HZlqR02?t=https%3A%2F%2Fwww.knownormal.com%2F&si=5370834256920576&pi=ddbedf4b-a44c-4171-af8d-cc6a5e903dac > > > > > 4819 Emperor Blvd., Ste 400 > > Durham, North Carolina 27703 > > tel: +1.424.262.KNOW x703 > > skype: shaneodonnell > > email: [email protected] > > ======================== > > :wq! > > >
