Okay, you literally saved me. Eye of the tiger, cant appreciate it enough. I am using cloudera 5.12 and there has been an issue with deploy client configuration feature. Maybe due to that configurations on the servers got screwed up. (Not really sure, its just a speculation). After checking hbase-site.xml on classpath, finding it empty, getting config from cloudera and copying it at the right location fixed things. Now I need to check why cloudera deploy client configuration is failing.
Nonetheless, thank you. On Tue, Jan 9, 2018 at 7:04 PM, Ted Yu <yuzhih...@gmail.com> wrote: > Was hbase-site.xml on the classpath when you executed the command ? > -------- Original message --------From: Ravi Hemnani < > raviiihemn...@gmail.com> Date: 1/9/18 3:11 AM (GMT-08:00) To: > user@hbase.apache.org Subject: Re: Hbase hbck not working properly. > @Ted, > > I can the following command, > 'sudo -u hbase hbase hbck', now the rootdir being taken is > /tmp/hbase-hbase/hbase instead of /hbase and still reports error for > inconsistencies. > > I apologize for the delay in reply/update. > > On Fri, Jan 5, 2018 at 6:05 PM, Ravi Hemnani <raviiihemn...@gmail.com> > wrote: > > > Hello all, > > > > I am in a fix right now where hbase hbck command is not running properly. > > It is picking up incorrect rootdir in order to search for regions info in > > hdfs and hence ultimately throwing 'No HDFS dir found' for all the > regions > > in the cluster. It is searching in hdfs://nameservice1/tmp/hbase-{user > > running hbck command}/hbase as show below. Also along with this, none of > > the hbase hbck options are working, repair etc and exiting with status > code > > 255. I am using hbase version 1.2. If anyone has faced something like > this > > please help. > > > > > > """ > > > > > > 1. 2018-01-05 11:28:44,051 INFO [main] util.HBaseFsck: Loading > region directories from HDFS > > 2. ERROR: Version file does not exist in root dir > hdfs://nameservice1/tmp/hbase-ravi/hbase > > 3. > > 4. 2018-01-05 11:28:44,162 INFO [main] util.HBaseFsck: Loading > region information from HDFS > > > > """ > > > > -- > > Thank you and Regards, > > > > Ravi Hemnani. > > > > > > -- > Thank you and Regards, > > Ravi Hemnani. > -- Thank you and Regards, Ravi Hemnani.