hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1454) HBaseAdmin.getClusterStatus
Date Thu, 28 May 2009 17:43:45 GMT

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

Andrew Purtell commented on HBASE-1454:
---------------------------------------

Committed a minor formatting update for shell support:

Help:

{code}
 status    Show cluster status. Can be 'summary', 'simple', or 'detailed'. The
           default is 'summary'. Examples:

           hbase> status
           hbase> status 'simple'
           hbase> status 'summary'
           hbase> status 'detailed'
{code}

Summary format:

{code}
hbase(main):002:0> status
3 servers, 0 dead, 45.3333 average load
{code}

Simple format:

{code}
hbase(main):003:0> status 'simple'
3 live servers
    test03:60020 1243482181202
        requests=1193, regions=45, usedHeap=463, maxHeap=998
    test04:60020 1243482181203
        requests=1836, regions=45, usedHeap=642, maxHeap=998
    test02:60020 1243482181204
        requests=1482, regions=46, usedHeap=734, maxHeap=998
0 dead servers
{code}

Detailed format:

{code}
hbase(main):004:0> status 'detailed'
3 live servers
    test03:60020 1243482181202
        requests=3486, regions=45, usedHeap=469, maxHeap=998
        content,d7e24a912b69b0c312440cf5cb40bf70,1243522630977
            stores=3, storefiles=6, memcacheSize=1, storefileIndexSize=0
        content,0996e06c55ed93f99ef0ae9f2e0e627e,1243514799522
            stores=3, storefiles=9, memcacheSize=9, storefileIndexSize=0
        content,6038a15ca3fb9cfa4b1bc02791eba224,1243519043603
            stores=3, storefiles=7, memcacheSize=15, storefileIndexSize=0
        [...]
    test04:60020 1243482181203
        requests=4471, regions=45, usedHeap=651, maxHeap=998
        content,5a177f3c7e0148e6bc5a6df5f91a8d1e,1243511119662
            stores=3, storefiles=6, memcacheSize=8, storefileIndexSize=0
        content,2abc43d76793842dbbef06ccfe4dd2ab,1243507380373
            stores=3, storefiles=9, memcacheSize=14, storefileIndexSize=0
        content,d2f35ddc8f32dc03c7ce5c4892ed57e7,1243524775729
            stores=3, storefiles=6, memcacheSize=14, storefileIndexSize=0
        [...]
    test02:60020 1243482181204
        requests=4353, regions=46, usedHeap=739, maxHeap=998
        content,d984a5a4d9de9800cb7fd2c90a67cd3c,1243519734765
            stores=3, storefiles=6, memcacheSize=9, storefileIndexSize=0
        content,66310be569feabcad7710e37cd7c1eb7,1243515202180
            stores=3, storefiles=7, memcacheSize=1, storefileIndexSize=0
        content,c0c3f32888ca87ef78d255a48f9f4f99,1243511200845
            stores=3, storefiles=5, memcacheSize=1, storefileIndexSize=0
        [...]
0 dead servers
{code}


> HBaseAdmin.getClusterStatus
> ---------------------------
>
>                 Key: HBASE-1454
>                 URL: https://issues.apache.org/jira/browse/HBASE-1454
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: example.txt, hbase-1454-1.patch, hbase-1454-2.patch
>
>
> Somewhat like Hadoop's JobClient.getClusterStatus().
> Provides status information to clients:
> * The names of region servers in the cluster.
> * The average cluster load.
> * The number of regions deployed on the cluster.
> * The number of requests since last report.
> * Detailed region server loading and resource usage information: A list of HServerInfo,
containing load information as HServerLoad, containing per-region load information as HServerLoad.RegionLoad.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message