Amitanand Aiyer created HBASE-6035:
--------------------------------------

             Summary: region_status.rb does not count total regions correctly, 
when favornodes are used
                 Key: HBASE-6035
                 URL: https://issues.apache.org/jira/browse/HBASE-6035
             Project: HBase
          Issue Type: Bug
            Reporter: Amitanand Aiyer


bin/hbase-jruby region_status.rb prints some weired numbers

1047/2 .. the denominator is 2, which should have been the total number of 
regions in the region.

It turns out that this was because we were using both:

scan.setFilter(FirstKeyOnlyFilter.new)
and
scan.addColumn INFO, REGION_INFO

it worked fine when there was no column before info:regioninfo.

But, after adding info:favourednodes we were no longer getting info:regioninfo.

Removing the scan.setFilter fixes the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to