File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1108,13 +1108,12 @@ public void unbuffered() {
11081108 */
11091109 private void merge (boolean isClosed ) {
11101110
1111- final IOStatisticsStore localIOStats = this .getIOStatistics ();
1112- IOStatisticsStore ioStatistics = localIOStats ;
1111+ IOStatisticsStore ioStatistics = this .getIOStatistics ();
11131112 LOG .debug ("Merging statistics into FS statistics in {}: {}" ,
11141113 (isClosed ? "close()" : "unbuffer()" ),
11151114 demandStringifyIOStatistics (ioStatistics ));
11161115 promoteInputStreamCountersToMetrics ();
1117- mergedStats = snapshotIOStatistics (localIOStats );
1116+ mergedStats = snapshotIOStatistics (this . getIOStatistics () );
11181117
11191118 if (isClosed ) {
11201119 // stream is being closed.
You can’t perform that action at this time.
0 commit comments