From c7692d4fccfd53d789726e244e9e73179c904e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cvintmd=E2=80=9D?= Date: Thu, 9 May 2024 10:29:49 +0800 Subject: [PATCH] remove user info config log update version --- flink-cos-fs-base/pom.xml | 2 +- flink-cos-fs-examples/pom.xml | 2 +- flink-cos-fs-hadoop/pom.xml | 2 +- .../org/apache/flink/fs/coshadoop/COSNFileSystemFactory.java | 4 +++- flink-fs-hadoop-shaded/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/flink-cos-fs-base/pom.xml b/flink-cos-fs-base/pom.xml index 4736bc6..50b738f 100644 --- a/flink-cos-fs-base/pom.xml +++ b/flink-cos-fs-base/pom.xml @@ -5,7 +5,7 @@ flink-cos-fs com.qcloud.cos - 1.10.0-0.2.2 + 1.10.0-0.2.3 4.0.0 diff --git a/flink-cos-fs-examples/pom.xml b/flink-cos-fs-examples/pom.xml index 1a54913..9e9812c 100644 --- a/flink-cos-fs-examples/pom.xml +++ b/flink-cos-fs-examples/pom.xml @@ -5,7 +5,7 @@ flink-cos-fs com.qcloud.cos - 1.10.0-0.2.2 + 1.10.0-0.2.3 4.0.0 diff --git a/flink-cos-fs-hadoop/pom.xml b/flink-cos-fs-hadoop/pom.xml index 53da658..b8bc369 100644 --- a/flink-cos-fs-hadoop/pom.xml +++ b/flink-cos-fs-hadoop/pom.xml @@ -5,7 +5,7 @@ flink-cos-fs com.qcloud.cos - 1.10.0-0.2.2 + 1.10.0-0.2.3 4.0.0 diff --git a/flink-cos-fs-hadoop/src/main/java/org/apache/flink/fs/coshadoop/COSNFileSystemFactory.java b/flink-cos-fs-hadoop/src/main/java/org/apache/flink/fs/coshadoop/COSNFileSystemFactory.java index 0b0c84e..f03860f 100644 --- a/flink-cos-fs-hadoop/src/main/java/org/apache/flink/fs/coshadoop/COSNFileSystemFactory.java +++ b/flink-cos-fs-hadoop/src/main/java/org/apache/flink/fs/coshadoop/COSNFileSystemFactory.java @@ -120,7 +120,9 @@ protected org.apache.hadoop.conf.Configuration getHadoopConfiguration() { String shadeValue = FLINK_SHADING_PREFIX + value; conf.set(key, shadeValue); } - LOG.info("Adding Flink config entry for {} as {} to Hadoop config", key, conf.get(key)); + if (!key.startsWith("fs.cosn.userinfo")) { + LOG.info("Adding Flink config entry for {} as {} to Hadoop config", key, conf.get(key)); + } } } } diff --git a/flink-fs-hadoop-shaded/pom.xml b/flink-fs-hadoop-shaded/pom.xml index 1c87f14..a73a7cb 100644 --- a/flink-fs-hadoop-shaded/pom.xml +++ b/flink-fs-hadoop-shaded/pom.xml @@ -5,7 +5,7 @@ flink-cos-fs com.qcloud.cos - 1.10.0-0.2.2 + 1.10.0-0.2.3 4.0.0 diff --git a/pom.xml b/pom.xml index e4e3a9d..7abd42b 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.qcloud.cos flink-cos-fs - 1.10.0-0.2.2 + 1.10.0-0.2.3 Flink : FileSystems : COS FS This project aims to provide COS's implementation of the Flink file system interface,