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

Todd Lipcon updated HDFS-13747:
-------------------------------
    Description: The DirListingIterator constructor calls 
storageStatistics.incrementOpCounter(OpType.LIST_LOCATED_STATUS) 
unconditionally even if 'needLocation' is false. It seems that if needLocation 
is false, it should increment the LIST_STATUS counter instead.

> Statistic for list_located_status is incremented incorrectly by 
> listStatusIterator
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-13747
>                 URL: https://issues.apache.org/jira/browse/HDFS-13747
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 3.0.3
>            Reporter: Todd Lipcon
>            Priority: Minor
>              Labels: newbie
>
> The DirListingIterator constructor calls 
> storageStatistics.incrementOpCounter(OpType.LIST_LOCATED_STATUS) 
> unconditionally even if 'needLocation' is false. It seems that if 
> needLocation is false, it should increment the LIST_STATUS counter instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to