[
https://issues.apache.org/jira/browse/HDFS-13747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583461#comment-16583461
]
Hudson commented on HDFS-13747:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14792 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14792/])
HDFS-13747. Statistic for list_located_status is incremented incorrectly (xiao:
rev c67b0650ea10896c6289703595faef0d262c00b3)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
> 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
> Assignee: Antal Mihalyi
> Priority: Minor
> Labels: newbie
> Fix For: 3.2.0, 3.0.4, 3.1.2
>
> Attachments: HDFS-13747.001.patch, HDFS-13747.002.patch
>
>
> 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]