You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by iw...@apache.org on 2021/03/10 13:24:23 UTC

[hadoop] branch trunk updated: HADOOP-17573. Fix compilation error of OBSFileSystem in trunk. (#2758)

This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 7a851c7  HADOOP-17573. Fix compilation error of OBSFileSystem in trunk. (#2758)
7a851c7 is described below

commit 7a851c7176dc27d8787818f4da615ebcf8a6168a
Author: Masatake Iwasaki <iw...@apache.org>
AuthorDate: Wed Mar 10 22:23:54 2021 +0900

    HADOOP-17573. Fix compilation error of OBSFileSystem in trunk. (#2758)
---
 .../src/main/java/org/apache/hadoop/fs/obs/OBSFileSystem.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-cloud-storage-project/hadoop-huaweicloud/src/main/java/org/apache/hadoop/fs/obs/OBSFileSystem.java b/hadoop-cloud-storage-project/hadoop-huaweicloud/src/main/java/org/apache/hadoop/fs/obs/OBSFileSystem.java
index dd8be1e..aa38c93 100644
--- a/hadoop-cloud-storage-project/hadoop-huaweicloud/src/main/java/org/apache/hadoop/fs/obs/OBSFileSystem.java
+++ b/hadoop-cloud-storage-project/hadoop-huaweicloud/src/main/java/org/apache/hadoop/fs/obs/OBSFileSystem.java
@@ -19,7 +19,6 @@
 package org.apache.hadoop.fs.obs;
 
 import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting;
-import org.apache.hadoop.thirdparty.com.google.common.util.concurrent.ListeningExecutorService;
 import com.obs.services.ObsClient;
 import com.obs.services.exception.ObsException;
 import com.obs.services.model.AccessControlList;
@@ -53,6 +52,7 @@ import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.net.URI;
 import java.util.EnumSet;
+import java.util.concurrent.ExecutorService;
 import java.util.concurrent.LinkedBlockingQueue;
 import java.util.concurrent.ThreadPoolExecutor;
 import java.util.concurrent.TimeUnit;
@@ -169,7 +169,7 @@ public final class OBSFileSystem extends FileSystem {
   /**
    * Bounded thread pool for multipart upload.
    */
-  private ListeningExecutorService boundedMultipartUploadThreadPool;
+  private ExecutorService boundedMultipartUploadThreadPool;
 
   /**
    * Bounded thread pool for copy.


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