diff --git a/README.md b/README.md
index e612f401..95361c0f 100644
--- a/README.md
+++ b/README.md
@@ -16,12 +16,12 @@ Hadoop-2.6.0及以上版本
## 安装方法
### 获取 hadoop-cos 插件
-下载地址:[hadoop-cos 插件](https://github.com/tencentyun/hadoop-cos)
+下载地址:[hadoop-cos 插件](https://github.com/tencentyun/hadoop-cos/releases)
### 安装hadoop-cos插件
-1. 将dep目录下的hadoop-cos-X.X.X-shaded.jar 拷贝到 `$HADOOP_HOME/share/hadoop/tools/lib`下。
+1. 将hadoop-cos-{hadoop.version}-x.x.x.jar和cos_api-bundle-5.x.x.jar 拷贝到 `$HADOOP_HOME/share/hadoop/tools/lib`下。
NOTE: 根据hadoop的具体版本选择对应的jar包,若dep目录中没有提供匹配版本的jar包,可自行通过修改pom文件中hadoop版本号,重新编译生成。
diff --git a/dep/hadoop-cos-2.6.5-shaded.jar b/dep/hadoop-cos-2.6.5-shaded.jar
deleted file mode 100644
index 403ce6bf..00000000
Binary files a/dep/hadoop-cos-2.6.5-shaded.jar and /dev/null differ
diff --git a/dep/hadoop-cos-2.7.5-shaded.jar b/dep/hadoop-cos-2.7.5-shaded.jar
deleted file mode 100644
index d61a867d..00000000
Binary files a/dep/hadoop-cos-2.7.5-shaded.jar and /dev/null differ
diff --git a/dep/hadoop-cos-2.8.5-shaded.jar b/dep/hadoop-cos-2.8.5-shaded.jar
deleted file mode 100644
index 86d7de74..00000000
Binary files a/dep/hadoop-cos-2.8.5-shaded.jar and /dev/null differ
diff --git a/pom.xml b/pom.xml
index 065e12e2..e9965c63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- org.apache.hadoop
+ com.qcloud.cos
hadoop-cos
- 3.1.0
+ ${hadoop.version}-5.8.4
jar
Apache Hadoop Tencent Qcloud COS Support
@@ -20,7 +20,7 @@
1.8
1.8
3.1.0
- 5.6.18
+ 5.6.19
24.1.1-jre
3.1
4.8
diff --git a/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java b/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java
index bf5ef400..3e2493c4 100644
--- a/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java
+++ b/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java
@@ -407,7 +407,7 @@ public int compare(PartETag o1, PartETag o2) {
}
private FileMetadata QueryObjectMetadata(String key) throws IOException {
- LOG.info("Query Object metadata....");
+ LOG.debug("Query Object metadata. cos key: {}.", key);
GetObjectMetadataRequest getObjectMetadataRequest =
new GetObjectMetadataRequest(bucketName, key);