You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2014/03/12 02:21:42 UTC
[jira] [Updated] (HDFS-6093) Expose more caching information for
debugging by users
[ https://issues.apache.org/jira/browse/HDFS-6093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang updated HDFS-6093:
------------------------------
Attachment: hdfs-6093-1.patch
Patch attached.
For the DFSAdmin output, it turns out that "block pool used" wasn't actually being sent to the client, so I added it along with the cache stuff. I verified the dfsadmin -report output manually. I didn't modify any existing lines, just added new ones (with unique strings), so existing tools shouldn't be broken.
The pending cache/uncache count is now a metric and also on the webUI. Included test makes sure that the metric ticks up and down, and I checked manually on the webUI.
> Expose more caching information for debugging by users
> ------------------------------------------------------
>
> Key: HDFS-6093
> URL: https://issues.apache.org/jira/browse/HDFS-6093
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: caching
> Affects Versions: 2.4.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Attachments: hdfs-6093-1.patch
>
>
> When users submit a new cache directive, it's unclear if the NN has recognized it and is actively trying to cache it, or if it's hung for some other reason. It'd be nice to expose a "pending caching/uncaching" count the same way we expose pending replication work.
> It'd also be nice to display the aggregate cache capacity and usage in dfsadmin -report, since we already have have it as a metric and expose it per-DN in report output.
--
This message was sent by Atlassian JIRA
(v6.2#6252)