From 4db3fcb647f5da2ef32b39b6892681cabec3e918 Mon Sep 17 00:00:00 2001 From: Yang Yu Date: Fri, 13 May 2022 17:06:48 +0800 Subject: [PATCH] fix: remove the getCOSClient interface function --- src/main/java/org/apache/hadoop/fs/NativeFileSystemStore.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/apache/hadoop/fs/NativeFileSystemStore.java b/src/main/java/org/apache/hadoop/fs/NativeFileSystemStore.java index 49511814..071af6d1 100644 --- a/src/main/java/org/apache/hadoop/fs/NativeFileSystemStore.java +++ b/src/main/java/org/apache/hadoop/fs/NativeFileSystemStore.java @@ -25,9 +25,6 @@ public interface NativeFileSystemStore { void initialize(URI uri, Configuration conf) throws IOException; - // must init first - COSClient getCOSClient(); - HeadBucketResult headBucket(String bucketName) throws IOException; void storeFile(String key, File file, byte[] md5Hash) throws IOException;