[
https://issues.apache.org/jira/browse/HBASE-23554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993772#comment-16993772
]
Michael Stack commented on HBASE-23554:
---------------------------------------
Added to branch-2.1. You need more [~busbey]?
Had to add addendum to branch-2.2 and branch-2 after testing. Working on Master
now.
> Encoded regionname to regionname utility
> ----------------------------------------
>
> Key: HBASE-23554
> URL: https://issues.apache.org/jira/browse/HBASE-23554
> Project: HBase
> Issue Type: Bug
> Components: shell
> Reporter: Michael Stack
> Assignee: Michael Stack
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.2.3, 2.1.9
>
>
> Debugging I keep wanting to look at region state/transition in meta but all I
> have is encoded region name gleaned from log or from some parts of the UI. I
> find myself doing dump of the meta table to a text file just to search
> especially if region replicas are enabled (their encoded name is not even
> mentioned in hbase:meta). Utility that let me lookup regionname using encoded
> regionname would be handy.
> This actually exists already... almost. The Admin Service has a
> getRegionInfo. Usually it just returns RegionInfo if passed a region name. It
> can add a bit more info if it a MOB Region and the query is against Master or
> if the query is against the hosting RegionServer, it can tack on some
> compaction state detail. Wouldn't take much to extend this existing facility
> so could query w/ encoded name.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)