[ https://issues.apache.org/jira/browse/HDFS-13747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582456#comment-16582456 ]
Antal Mihalyi edited comment on HDFS-13747 at 8/16/18 1:00 PM: --------------------------------------------------------------- [~gabor.bota] , [~xiaochen] , thank you for your reviews and thanks for the comments. I have fixed the deleted whitespaces and uploaded a new improved patch. was (Author: amihalyi): [~gabor.bota] , [~xiaochen] , thank you for your reviews and thanks for the comment. I have fixed the deleted whitespaces and uploaded a new improved patch. > 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 > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org