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 hdfs://nameservice1/tmp/hbase

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 regions info in > hdfs and

Not able to use HBaseTestingUtility with CDH 5.7

2018-01-05 Thread Debraj Manna
Cross posting from - stackoverflow - cloudera forum I a

Re: Not able to use HBaseTestingUtility with CDH 5.7

2018-01-05 Thread Josh Elser
There is no such artifact with the groupId & artifactId org.apache.hbase:hbase for Apache HBase. I assume would be the same for CDH. You need the test jar from hbase-server if you want the HBaseTestingUtility class. On 1/5/18 10:23 AM, Debraj Manna wrote: Cross posting from - stackover

Re: Hbase Snapshot Export Data storage

2018-01-05 Thread Jerry He
Keeping the data files in the /hbase/archive is the way how snapshot (and exported snapshot) works. There are reference links to them so that they are not actually cleaned/deleted. And restored snapshot will answer client query by following the reference links to these data files. It is not necessa