[
https://issues.apache.org/jira/browse/HBASE-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750414#comment-13750414
]
Jimmy Xiang commented on HBASE-9116:
------------------------------------
I see several places warning is logged like this:
{noformat}
+ LOG.warn("Cannot place the favored nodes for region "
+ + regionInfo.getRegionNameAsString() + " because " + e);
{noformat}
Perhaps, it is better to log the stack trace as well:
{noformat}
+ LOG.warn("Cannot place the favored nodes for region "
+ + regionInfo.getRegionNameAsString() + " because " + e, e);
{noformat}
Some function may not throw exception declared, for example,
FavoredNodeAssignmentHelper#placeSecondaryAndTertiaryWithRestrictions doesn't
throw IOException.
Good stuff. Is this still WIP? How can we use this? Edit the meta table from
hbase shell?
> Add a view/edit tool for favored node mappings for regions
> ----------------------------------------------------------
>
> Key: HBASE-9116
> URL: https://issues.apache.org/jira/browse/HBASE-9116
> Project: HBase
> Issue Type: Improvement
> Components: Region Assignment
> Affects Versions: 0.95.0
> Reporter: Devaraj Das
> Assignee: Devaraj Das
> Fix For: 0.96.0
>
> Attachments: 9116-1.txt, 9116-2.txt, 9116-2.txt, 9116-2.txt,
> 9116-3.txt, 9116-4.txt
>
>
> Add a tool that one can run offline to view the favored node mappings for
> regions, and also fix the mappings if needed. Such a tool exists in the
> 0.89-fb branch. Will port it over to trunk/0.95.
--
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