You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Dávid Paksy (Jira)" <ji...@apache.org> on 2024/12/16 13:27:00 UTC

[jira] [Commented] (HBASE-24624) Optimize table.jsp code

    [ https://issues.apache.org/jira/browse/HBASE-24624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906034#comment-17906034 ] 

Dávid Paksy commented on HBASE-24624:
-------------------------------------

This was only merged to master on 2020 July 1.

Started to backport the patch into branch-2.x branches here:
 * [https://github.com/apache/hbase/pull/6542]
 * [https://github.com/apache/hbase/pull/6546]
 * [https://github.com/apache/hbase/pull/6548]

> 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 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)