[ https://issues.apache.org/jira/browse/HADOOP-11044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118491#comment-14118491 ]
Gary Steelman commented on HADOOP-11044: ---------------------------------------- Which ever approach we take here we should also use when we discover other places with counters we're switching to long types. > FileSystem counters can overflow for large number of readOps, largeReadOps, > writeOps > ------------------------------------------------------------------------------------ > > Key: HADOOP-11044 > URL: https://issues.apache.org/jira/browse/HADOOP-11044 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 2.5.0, 2.4.1 > Reporter: Swapnil Daingade > Priority: Minor > > The org.apache.hadoop.fs.FileSystem.Statistics.StatisticsData class defines > readOps, largeReadOps, writeOps as int. Also the The > org.apache.hadoop.fs.FileSystem.Statistics class has methods like > getReadOps(), getLargeReadOps() and getWriteOps() that return int. These int > values can overflow if the exceed 2^31-1 showing negative values. It would be > nice if these can be changed to long. -- This message was sent by Atlassian JIRA (v6.3.4#6332)