Re: unable to merge region - "has merge qualifier"

2014-06-28 Thread Geovanie Marquez
HBase 0.96.1.1-cdh5.0.0 is the hbase version I enabled DEBUG and I do not see anything new mentioned above. I think it must still have references since this return: return cleanMergeRegion(region, mergeRegions.getFirst(), mergeRegions.getSecond()); on CatalogJanitor must be returning false in or

Re: unable to merge region - "has merge qualifier"

2014-06-28 Thread Ted Yu
Which release of hbase are you using ? Did you turn on DEBUG logging ? Do you see the following log (from CatalogJanitor) in master log ? if (mergeRegions.getFirst() == null || mergeRegions.getSecond() == null) { LOG.error("Merged region " + region.getRegionNameAsString() +

unable to merge region - "has merge qualifier"

2014-06-28 Thread Geovanie Marquez
I have a table that blew up in the number of regions, I fixed the configuration and now need to bring the regions back down to our desired number of 16. I wrote a program to do exactly that and it worked when tested on a single node cluster, but now in production I get perpetually stuck on a merge

Re: Hbase scan using TIMERANGE

2014-06-28 Thread Ted Yu
Have you looked at the following method in AggregationClient ? long rowCount(final HTable table, final ColumnInterpreter ci, final Scan scan) throws Throwable { You can specify timerange through scan parameter. See this method of Scan: public Scan setTimeRange(long minStamp, long max

Hbase scan using TIMERANGE

2014-06-28 Thread yogi
Hi, I have a requirement where I have to make a shell script using which i need to scan some 6 huge hbase tables and get the count of records present in them. Also i need the counts per day wise where i pass the date parameter to the shell script which calls these scan commands. I did find a way t