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

Hairong Kuang updated HDFS-204:
-------------------------------

    Attachment: getFileNum-yahoo20.patch

This patch ported the feature to Yahoo 20 branch. In addition, it fixed the bug 
that NPE will be thrown when getListing on a non-existent path and I also added 
two more test cases, one is listing a non-existent path and one is listing path 
represented a file.

> Revive number of files listed metrics
> -------------------------------------
>
>                 Key: HDFS-204
>                 URL: https://issues.apache.org/jira/browse/HDFS-204
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>    Affects Versions: 0.21.0
>            Reporter: Koji Noguchi
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.21.0
>
>         Attachments: getFileNum-yahoo20.patch, HDFS-204-2.patch, 
> HDFS-204-2.patch, HDFS-204.patch, HDFS-204.patch
>
>
> When namenode becomes unresponsive by HADOOP-4693 (large filelist calls), 
> metrics has been helpful in finding out the cause.
> When gc time hikes, "FileListed" metrics also hiked.
> In 0.18, after we *fixed* "FileListed" metrics so that it shows number of 
> operations instead of number of files listed (HADOOP-3683), I stopped seeing 
> this relationship graph.  
> Can we bring back "NumbverOfFilesListed" metrics?

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

Reply via email to