mehakmeet commented on a change in pull request #1899: HADOOP-16914 Adding
Output Stream Counters in ABFS
URL: https://github.com/apache/hadoop/pull/1899#discussion_r408992189
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsOutputStream.java
##########
@@ -384,6 +400,7 @@ private synchronized void
flushWrittenBytesToServiceInternal(final long offset,
* operation FIFO queue.
*/
private synchronized void shrinkWriteOperationQueue() throws IOException {
+ outputStreamStatistics.queueShrunk();
Review comment:
Queue is not actually getting shrunk here, rather inside the while loop.
I'll change this and the respective tests.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]