You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Deon Huang (JIRA)" <ji...@apache.org> on 2017/07/31 17:37:00 UTC

[jira] [Commented] (HBASE-2631) Decide between "InMB" and "MB" as suffix for field names in ClusterStatus objects

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

Deon Huang commented on HBASE-2631:
-----------------------------------

It’s actually the same status as Jan mention.
The deprecated history is list below.

HServerInfo is deprecated in 0.94.
https://hbase.apache.org/0.94/apidocs/deprecated-list.html
org.apache.hadoop.hbase.HServerInfo
Use InetSocketAddress and or ServerName and or HServerLoad

HServerLoad is deprecated in 0.95 (While adapt Hadoop-2)
Didn’t find any official deprecated list.
But ensure it has been deprecated since.
https://archive.apache.org/dist/hbase/hbase-0.95.0/

Seems there are some similar naming in
org.apache.hadoop.hbase.ServerLoad
(getStorefileSizeInMB,getMemstoreSizeInMB, getMaxHeapMB)

But not sure extend 7 years ago message is appropriate.
I can do that if this change to ServerLoad is needed.

> Decide between "InMB" and "MB" as suffix for field names in ClusterStatus objects
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-2631
>                 URL: https://issues.apache.org/jira/browse/HBASE-2631
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jeff Hammerbacher
>              Labels: beginner
>
> We vacillate between "InMB" (e.g. HServerLoad.getMemStoreSizeInMB(), HServerLoad.getStorefileIndexSizeInMB()) and "MB" (e.g. HServerLoad.getUsedHeapMB()) in the various ClusterStatus objects (HServerInfo, HServerLoad, HServerLoad.RegionLoad). We should probably pick one and stick to it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)