zhangyue19921010 opened a new pull request #4078:
URL: https://github.com/apache/hudi/pull/4078


   https://issues.apache.org/jira/browse/HUDI-2833
   ## What is the purpose of the pull request
   ```
   public enum StorageSchemes {
     // Local filesystem
     FILE("file", false),
     // Hadoop File System
     HDFS("hdfs", true),
     // Baidu Advanced File System
     AFS("afs", true),
     // Mapr File System
     MAPRFS("maprfs", true),
     // Apache Ignite FS
     IGNITE("igfs", true),
     // AWS S3
     S3A("s3a", false), S3("s3", false),
     // Google Cloud Storage
     GCS("gs", false),
     // Azure WASB
     WASB("wasb", false), WASBS("wasbs", false),
     // Azure ADLS
     ADL("adl", false),
     // Azure ADLS Gen2
     ABFS("abfs", false), ABFSS("abfss", false),
     // Aliyun OSS
     OSS("oss", false),
     // View FS for federated setups. If federating across cloud stores, then 
append support is false
     VIEWFS("viewfs", true),
     //ALLUXIO
     ALLUXIO("alluxio", false),
     // Tencent Cloud Object Storage
     COSN("cosn", false),
     // Tencent Cloud HDFS
     CHDFS("ofs", true),
     // Tencent Cloud CacheFileSystem
     GOOSEFS("gfs", false),
     // Databricks file system
     DBFS("dbfs", false),
     // IBM Cloud Object Storage
     COS("cos", false),
     // Huawei Cloud Object Storage
     OBS("obs", false),
     // Kingsoft Standard Storage ks3
     KS3("ks3", false),
     // JuiceFileSystem
     JFS("jfs", true),
     // Baidu Object Storage
     BOS("bos", false);
   ```
   As we know, most of storage do not support append action, so that hoodie 
will create a new archive file under archived dictionary when archiving.
   
   As time goes by, there may be thousands of archive files, which most of them 
is not useful anymore.
   
   Maybe it is meaningful to have a function to clean these unused archive 
files.
   
   From our experience, we meet over 10000+ archive files on S3 and hoodie 
spent 20+ seconds to open a new archive writer because of pool performance 
listing these files when naming the new archive file.
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is a trivial rework / code cleanup without any test 
coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please 
describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   *(example:)*
   
     - *Added integration tests for end-to-end.*
     - *Added HoodieClientWriteTest to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to