Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change CosNUnderFileSystemFactory implementation UnderFileSystemFactory
### What changes are proposed in this pull request? - Don't have to inherit the HdfsUnderFileSystemFactory CosNUnderFileSystemFactory directly implement UnderFileSystemFactory interface ### Why are the changes needed? - Possibly to resolve package conflicts, #17024 removed HdfsUnderFileSystemFactory from COSN UFS jar, resulting in inability to use COSN interface - However, CosNUnderFileSystemFactory inherits from HdfsUnderFileSystemFactory,the ServiceLoader.load method loads CosNUnderFileSystemFactory and first searches for its parent class, so removing HdfsUnderFileSystemFactory directly will result in an error. ``` failed to load jar alluxio-underfs-hadoop-cosn-3.1.0-5.8.5-2.9.3.jar NoClassdDefFoundError :alluxio/underfs/hdfs/HdfsUnderFileSystemFactory ``` pr-link: #18143 change-id: cid-4a80f6cdeae5b9bdb9e956c36838403ee6ce7c46
- Loading branch information