You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (JIRA)" <ji...@apache.org> on 2012/05/17 20:54:26 UTC
[jira] [Commented] (HBASE-6035) region_status.rb does not count
total regions correctly, when favornodes are used
[ https://issues.apache.org/jira/browse/HBASE-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278090#comment-13278090 ]
Zhihong Yu commented on HBASE-6035:
-----------------------------------
This seems to be for 0.89-fb only.
Please mark the JIRA title accordingly.
> 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
> Assignee: 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