You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nicolas Liochon (JIRA)" <ji...@apache.org> on 2013/08/30 11:37:52 UTC

[jira] [Commented] (HBASE-9389) Favorednodes command line not verifying assignments correctly

    [ https://issues.apache.org/jira/browse/HBASE-9389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754533#comment-13754533 ] 

Nicolas Liochon commented on HBASE-9389:
----------------------------------------

for verifyRegionPlacement:
bq. +   * @param report
It should be @ return

But while this method now returns a report it's never used?

+        if (cfStatus.getPath().getName().startsWith(".") ||
+            HConstants.HBASE_NON_USER_TABLE_DIRS.contains(cfStatus.getPath().getName())) {
We were skipping the "technical directories", and .META., and now explicitly the system tables, but are we right to skip the system tables, .META. included? I could imagine that we want to use the favored node configuration for them as well.

                
> Favorednodes command line not verifying assignments correctly
> -------------------------------------------------------------
>
>                 Key: HBASE-9389
>                 URL: https://issues.apache.org/jira/browse/HBASE-9389
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>            Priority: Critical
>             Fix For: 0.96.0
>
>         Attachments: verification-fix.1.txt
>
>
> In manual testing, encountered an issue to do with the command line tool (HBASE-9116) not verifying the assignments correctly. Although the regions are assigned to the favored nodes, the verification/print showed otherwise.
> The command to reproduce the problem (after having created the tables, and loading some data):
> bin/hbase org.apache.hadoop.hbase.master.RegionPlacementMaintainer -tables cluster_test1,cluster_test2 -hbase_root /apps/hbase/data -v 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira