Re: Hbase hbck not working properly.

2018-01-09 Thread Ravi Hemnani
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, >

Re: Hbase hbck not working properly.

2018-01-09 Thread Ted Yu
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,

Re: Hbase hbck not working properly.

2018-01-09 Thread Ravi Hemnani
@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

Re: Hbase hbck not working properly.

2018-01-05 Thread Ted Yu
Please run hbck as hbase superuser, normally user hbase. Cheers On Fri, Jan 5, 2018 at 4:35 AM, Ravi Hemnani 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

Hbase hbck not working properly.

2018-01-05 Thread Ravi Hemnani
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