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:


 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'

Summary format:

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

Simple format:

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

Detailed format:

hbase(main):004:0> status 'detailed'
3 live servers
    test03:60020 1243482181202
        requests=3486, regions=45, usedHeap=469, maxHeap=998
            stores=3, storefiles=6, memcacheSize=1, storefileIndexSize=0
            stores=3, storefiles=9, memcacheSize=9, storefileIndexSize=0
            stores=3, storefiles=7, memcacheSize=15, storefileIndexSize=0
    test04:60020 1243482181203
        requests=4471, regions=45, usedHeap=651, maxHeap=998
            stores=3, storefiles=6, memcacheSize=8, storefileIndexSize=0
            stores=3, storefiles=9, memcacheSize=14, storefileIndexSize=0
            stores=3, storefiles=6, memcacheSize=14, storefileIndexSize=0
    test02:60020 1243482181204
        requests=4353, regions=46, usedHeap=739, maxHeap=998
            stores=3, storefiles=6, memcacheSize=9, storefileIndexSize=0
            stores=3, storefiles=7, memcacheSize=1, storefileIndexSize=0
            stores=3, storefiles=5, memcacheSize=1, storefileIndexSize=0
0 dead servers

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

View raw message