sjgllgh opened a new pull request, #4435:
URL: https://github.com/apache/linkis/pull/4435

   ### What is the purpose of the change
   
   1. linkis-storge support s3 filesystem;
   2. support write/read launch log in s3 bucket;
   3. support write/read resultSet in s3 bucket.
   
   ### Related issues/PRs
   
   Related issues: #4185 
   Related pr: #4185 
   
   
   ### Brief change log
   
   - add S3FileSystem class which extends from FileSystem class, in order to 
operate s3.
   - add BuildS3System class to build S3FileSystem.
   - modify StorageUtils class to fix an error when reading a resultSet from s3 
in S3ObjectInputStream.
   - modify StorageConfiguration class.
   
   
   ### How to use s3 file system
   
   1. modify configs in conf/linkis-cg-entrance.properties.
   - wds.linkis.resultSet.store.path=s3://linkis/tmp/
   - wds.linkis.filesystem.hdfs.root.path=s3://linkis/tmp/
   2. add configs in conf/linkis.properties.
   - wds.linkis.storage.s3.access.key=kyrO2anrUJQLtS2B
   - wds.linkis.storage.s3.secret.key=3BO2O9YHW110A64lx4hqh0MNsGHfIpZP
   - wds.linkis.storage.s3.endpoint=http://localhost:9000/
   - wds.linkis.storage.s3.region=cn-hb-1
   - wds.linkis.storage.s3.bucket=bucket-1
   
   
   ### Checklist
   
   - [x] I have read the [Contributing Guidelines on pull 
requests](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#pull-requests).
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [x] I have added tests corresponding to this change
   - [x] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [Linkis mailing 
list](https://linkis.apache.org/community/how-to-subscribe) first)
   - [x] **If this is a code change**: I have written unit tests to fully 
verify the new behavior.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@linkis.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@linkis.apache.org
For additional commands, e-mail: notifications-h...@linkis.apache.org

Reply via email to