[ https://issues.apache.org/jira/browse/HBASE-18193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin updated HBASE-18193: -------------------------- Comment: was deleted (was: A comment with security level 'jira-users' was removed.) > Master web UI presents the incorrect number of regions > ------------------------------------------------------ > > Key: HBASE-18193 > URL: https://issues.apache.org/jira/browse/HBASE-18193 > Project: HBase > Issue Type: Bug > Affects Versions: 3.0.0, 2.0.0 > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Priority: Minor > Fix For: 2.0.0 > > Attachments: HBASE-18193.v0.patch > > > {code:title=RegionStates.java} > public Map<RegionState.State, List<HRegionInfo>> > getRegionByStateOfTable(TableName tableName) { > final State[] states = State.values(); > final Map<RegionState.State, List<HRegionInfo>> tableRegions = > new HashMap<State, List<HRegionInfo>>(states.length); > for (int i = 0; i < states.length; ++i) { > tableRegions.put(states[i], new ArrayList<HRegionInfo>()); > } > for (RegionStateNode node: regionsMap.values()) { > tableRegions.get(node.getState()).add(node.getRegionInfo()); > } > return tableRegions; > } > {code} > It always returns all regions... -- This message was sent by Atlassian JIRA (v7.6.3#76005)