HADOOP-17573. Fix compilation error of OBSFileSystem in trunk. (#2758)
This commit is contained in:
parent
6a55baeee4
commit
7a851c7176
@ -19,7 +19,6 @@
|
|||||||
package org.apache.hadoop.fs.obs;
|
package org.apache.hadoop.fs.obs;
|
||||||
|
|
||||||
import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting;
|
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.ObsClient;
|
||||||
import com.obs.services.exception.ObsException;
|
import com.obs.services.exception.ObsException;
|
||||||
import com.obs.services.model.AccessControlList;
|
import com.obs.services.model.AccessControlList;
|
||||||
@ -53,6 +52,7 @@
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
import java.util.concurrent.ExecutorService;
|
||||||
import java.util.concurrent.LinkedBlockingQueue;
|
import java.util.concurrent.LinkedBlockingQueue;
|
||||||
import java.util.concurrent.ThreadPoolExecutor;
|
import java.util.concurrent.ThreadPoolExecutor;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
@ -169,7 +169,7 @@ public final class OBSFileSystem extends FileSystem {
|
|||||||
/**
|
/**
|
||||||
* Bounded thread pool for multipart upload.
|
* Bounded thread pool for multipart upload.
|
||||||
*/
|
*/
|
||||||
private ListeningExecutorService boundedMultipartUploadThreadPool;
|
private ExecutorService boundedMultipartUploadThreadPool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bounded thread pool for copy.
|
* Bounded thread pool for copy.
|
||||||
|
Loading…
Reference in New Issue
Block a user