[ https://issues.apache.org/jira/browse/HBASE-24624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-24624. ------------------------------- Hadoop Flags: Reviewed Resolution: Fixed Let me resolve this issue since we have raised backport issues. > Optimize table.jsp code > ----------------------- > > Key: HBASE-24624 > URL: https://issues.apache.org/jira/browse/HBASE-24624 > Project: HBase > Issue Type: Improvement > Components: UI > Affects Versions: 3.0.0-alpha-1 > Reporter: song XinCun > Assignee: song XinCun > Priority: Minor > Fix For: 3.0.0-alpha-1 > > > # Rename buildRegionServerLink to buildRegionLink, for it returns the link of > region, not regionserver. > # Add buildRegionDeployedServerTag and moreRegionsToRender, this two > function can be used everywhere in table.jsp, and with them we can reduce a > lot of same code. > # Fix bug which locality stats tab can not sort. This is because we set > wrong id for locality stats tab. > # We use too much "if (withReplica)..." statements, remove it and let the > page always show the replica id of regions. This can help to keep the code > simple and the UI style union. > # When there is no primary region on regionserver, show 0 instead of null -- This message was sent by Atlassian Jira (v8.20.10#820010)