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

Mingliang Liu commented on HBASE-23969:
---------------------------------------

Thanks [~ndimiduk]!

I brows the code quickly and think the "ServerName" information in table.jsp 
now is actually 
[using|https://github.com/apache/hbase/blob/eface7440722e4e85f7848cdbc1f975f4785f334/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java#L952]
 the "info:server" column in meta table. We here need to include the "info:sn" 
information. When we show it in table.jsp, can we call it 
"TransitioningOnServerName", or is there a better name? Alternatively, we can 
simply rename the existing "ServerName" column in table.jsp as "server" and 
this new column as "sn". This seems not very descriptive though.

For the merge/mergeA/mergeB, I see we now support merging multiple regions, and 
the number can be more than 2. The old "mergeA" and "mergeB" are now deprecated 
in favor of "merge0000" and "merge0001. So I'm thinking this meta browser shows 
the "merge*" values as a single string in the "MergeRegionName" column of the 
table in table.jsp. Is this a good idea? This way we don't need dynamic columns 
in table.jsp. I guess user cares about the parent regions than the column name 
in "hbase:meta" table, be it "mergeA" or "merge0000".

Last, is the sequence number during open required? We can add that as well 
since it's already in location information.

I have a basic patch, and attach the screenshot here. It enables X-scroll and 
disables the wrap for long text.

> Meta browser should show all `info` columns
> -------------------------------------------
>
>                 Key: HBASE-23969
>                 URL: https://issues.apache.org/jira/browse/HBASE-23969
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, UI
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Nick Dimiduk
>            Assignee: Mingliang Liu
>            Priority: Minor
>         Attachments: Screen Shot 2020-04-10 at 4.02.50 AM.png
>
>
> The Meta table browser lists region states. There are other {{info}} columns 
> in the table, which should be displayed. Looking through {{HConstants}}, it 
> seems we need to add the following:
>  * {{server}}
>  * {{sn}}
>  * {{splitA}}
>  * {{splitB}}
>  * {{merge}}
>  * {{mergeA}}
>  * {{mergeB}}
> Are there others?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to