From 7a851c7176dc27d8787818f4da615ebcf8a6168a Mon Sep 17 00:00:00 2001 From: Masatake Iwasaki Date: Wed, 10 Mar 2021 22:23:54 +0900 Subject: [PATCH] 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 dd8be1e1fe..aa38c93f80 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.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.