hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [hadoop] jeeteshm commented on a change in pull request #1611: HADOOP-16612 Track Azure Blob File System client-perceived latency
Date Sat, 02 Nov 2019 05:44:55 GMT
jeeteshm commented on a change in pull request #1611: HADOOP-16612 Track Azure Blob File System
client-perceived latency
URL: https://github.com/apache/hadoop/pull/1611#discussion_r341800081
 
 

 ##########
 File path: hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsOutputStream.java
 ##########
 @@ -334,8 +337,8 @@ private synchronized void flushWrittenBytesToServiceAsync() throws IOException
{
 
   private synchronized void flushWrittenBytesToServiceInternal(final long offset,
       final boolean retainUncommitedData, final boolean isClose) throws IOException {
-    try {
-      client.flush(path, offset, retainUncommitedData, isClose);
+    try (AbfsPerfInfo tracker = new AbfsPerfInfo(client.getAbfsPerfTracker(), "flushWrittenBytesToServiceInternal",
"flush")) {
 
 Review comment:
   extracted.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message