Skip to content

Commit

Permalink
[Improve][Connector-V2][OSS-Jindo] Optimize jindo oss connector (#4964)
Browse files Browse the repository at this point in the history
* [Improve][Connector-V2][Jindo-Oss] Optimize jindo-oss connector

* [Improve][Connector-V2][Jindo-Oss] Update module name

* [Hotfix][Connector-V2][StarRocks] Fix code style
  • Loading branch information
TyrantLucifer authored Jun 28, 2023
1 parent 526197a commit 5fbfd05
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<version>${revision}</version>
</parent>

<artifactId>connector-file-oss-jindo</artifactId>
<name>SeaTunnel : Connectors V2 : File : Oss Jindo</name>
<artifactId>connector-file-jindo-oss</artifactId>
<name>SeaTunnel : Connectors V2 : File : Jindo Oss</name>

<properties>
<jindo-sdk.version>4.6.1</jindo-sdk.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public static HadoopConf buildWithConfig(Config config) {
ossOptions.put("fs.oss.accessKeyId", config.getString(OssConfig.ACCESS_KEY.key()));
ossOptions.put("fs.oss.accessKeySecret", config.getString(OssConfig.ACCESS_SECRET.key()));
ossOptions.put("fs.oss.endpoint", config.getString(OssConfig.ENDPOINT.key()));
ossOptions.put("fs.oss.upload.thread.concurrency", "20");
ossOptions.put("fs.oss.upload.queue.size", "100");
hadoopConf.setExtraOptions(ossOptions);
return hadoopConf;
}
Expand Down
2 changes: 1 addition & 1 deletion seatunnel-connectors-v2/connector-file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<module>connector-file-base-hadoop</module>
<module>connector-file-sftp</module>
<module>connector-file-s3</module>
<module>connector-file-oss-jindo</module>
<module>connector-file-jindo-oss</module>
</modules>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion seatunnel-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
</dependency>
<dependency>
<groupId>org.apache.seatunnel</groupId>
<artifactId>connector-file-oss-jindo</artifactId>
<artifactId>connector-file-jindo-oss</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
Expand Down

0 comments on commit 5fbfd05

Please sign in to comment.