-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python: Create HadoopFileSystem from netloc (merge request !1060)
Pyiceberg支持跨HDFS Cluster访问,用于访问线上iceberg表 现有的pyarrow模块根据catalog配置来初始化HadoopFileSystem, ``` catalog: ice: hdfs.host: xxxx hdfs.port: xxx ``` 如果实际访问的Cluster不是catalog配置的cluster,会触发Wrong FS异常 java.lang.IllegalArgumentException: Wrong FS: hdfs://xxxx expected: hdfs://yyyy 改成优先采用制定的uri初始化, 线上测试 TAPD: --story=887319139
- Loading branch information
Showing
2 changed files
with
32 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters