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

Shinichi Yamashita commented on HDFS-5196:
------------------------------------------

Thank you for your review.

{quote}
Looking at the code, it might make more sense to create a MXBean of the 
SnapshotManager to record all the information. The motivation is that both 
FSNamesystemState and NameNodeInfo are frequently queried but the snapshot 
information is not. That way also allows the UI makes only one HTTP call 
instead of two. What do you think?
{quote}

I think so too.
I think that we should be able to get Snapshot Info in form such as 
"Hadoop:service=NameNode,name=SnapshotInfo,".
I will attach the new patch which I implemented for a new idea.



> Provide more snapshot information in WebUI
> ------------------------------------------
>
>                 Key: HDFS-5196
>                 URL: https://issues.apache.org/jira/browse/HDFS-5196
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: snapshots
>    Affects Versions: 3.0.0
>            Reporter: Haohui Mai
>            Assignee: Shinichi Yamashita
>            Priority: Minor
>         Attachments: HDFS-5196-2.patch, HDFS-5196-3.patch, HDFS-5196-4.patch, 
> HDFS-5196-5.patch, HDFS-5196-6.patch, HDFS-5196.patch, HDFS-5196.patch, 
> HDFS-5196.patch, snapshot-new-webui.png, snapshottable-directoryList.png, 
> snapshotteddir.png
>
>
> The WebUI should provide more detailed information about snapshots, such as 
> all snapshottable directories and corresponding number of snapshots 
> (suggested in HDFS-4096).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to