[
https://issues.apache.org/jira/browse/HBASE-24624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
song XinCun updated HBASE-24624:
--------------------------------
Description:
# 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 the
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
was:
# 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 the
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
> 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
>
> # 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 the
> 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.3.4#803005)