[ https://issues.apache.org/jira/browse/HBASE-23554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-23554. ------------------------------- Resolution: Fixed Cherry-picked the commit and the addendum to branch-2.1. > 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.1.9, 2.2.3 > > > 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)