[ 
https://issues.apache.org/jira/browse/HBASE-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mikhail Antonov updated HBASE-7171:
-----------------------------------
    Attachment: HBASE-7171.patch

Here's draft patch. Added two new pages, region details and storefile details. 
Some notes (cc [~stack], [~enis]):

 - regarding using "logical" api to traverse store files (think 
region.getStores().get('cfname').getStoreFiles() ) vs "physical" (traversing fs 
assuming certain physical layout and linking to NN-style printout) I think 
first one would be easier to maintain and cleaner going forward? What do we 
need to display on region page. Memstore params (besides current size, what 
else? timestamps, snapshot info? File information - size, lmd, what else is of 
interest given the limited horizontal space.

 - for now I just used quick and dirty approach when clicking at store file 
name link simply invokes another java process (via 'hbase hfile...') and 
redirects the output to the page. Is this information what we want to see at 
this store file details page (assuming that browsing individual cells is not 
something I'm doing now, that needs more thinking)?  If this information is 
kind of what we want here, then to avoid having to call another process I can 
change HFilePrettyPrinter, pull KeyValueStatsCollector out of it, and a bit 
more refactoring would be needed there.

> Initial web UI for region/memstore/storefiles details
> -----------------------------------------------------
>
>                 Key: HBASE-7171
>                 URL: https://issues.apache.org/jira/browse/HBASE-7171
>             Project: HBase
>          Issue Type: Improvement
>          Components: UI
>            Reporter: stack
>            Assignee: Mikhail Antonov
>              Labels: beginner
>         Attachments: HBASE-7171.patch, region_details.png, region_list.png, 
> storefile_details.png
>
>
> Click on a region in UI and get a listing of hfiles in HDFS and summary of 
> memstore content; click on an HFile and see its content



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to