Uh oh!
There was an error while loading. Please reload this page.
[Fix](PaimonCatalog) fix the problem that paimon catalog can not access to OSS-HDFS - #42585
Merged
Merged
Conversation
doris-robot
commented
Oct 28, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
BePPPower
marked this pull request as draft
October 28, 2024 07:40
BePPPower
commented
Oct 28, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Oct 28, 2024
TPC-H: Total hot run time: 41330 ms |
doris-robot
commented
Oct 28, 2024
TPC-DS: Total hot run time: 197620 ms |
doris-robot
commented
Oct 28, 2024
ClickBench: Total hot run time: 32.52 s |
morningman
marked this pull request as ready for review
November 1, 2024 01:56
doris-robot
commented
Nov 1, 2024
TPC-H: Total hot run time: 41660 ms |
doris-robot
commented
Nov 1, 2024
TPC-DS: Total hot run time: 198802 ms |
doris-robot
commented
Nov 1, 2024
ClickBench: Total hot run time: 32.47 s |
wuwenchi
approved these changes
Nov 1, 2024
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
CalvinKirs
previously approved these changes
Nov 1, 2024
BePPPower
commented
Nov 1, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Nov 1, 2024
TPC-H: Total hot run time: 41400 ms |
doris-robot
commented
Nov 1, 2024
TPC-DS: Total hot run time: 197343 ms |
doris-robot
commented
Nov 1, 2024
ClickBench: Total hot run time: 32.2 s |
morningman
approved these changes
Nov 1, 2024
Contributor
PR approved by at least one committer and no changes requested. |
github-actionsBot
pushed a commit
that referenced
this pull request
Nov 2, 2024
…ss to OSS-HDFS (#42585) Fix the problem that paimon catalog can not access to OSS-HDFS. There are 2 problems in paimon catalog: 1. Doris FE can not list paimon tables. This is because we pass these three properties -- `fs.oss.endpoint / fs.oss.accessKeyId / fs.oss.accessKeySecret` -- to the PaimonCatalog. When PaimonCatalog get these three properties, it will use `OSSLoader` rather than `HadoopFileIOLoader`. 2. Doris BE does not use libhdfs to access OSS-HDFS This is because the `tmpLocation` in `LocationPath` does not contain `oss-dls.aliyuncs`. We should use `endpoint` to judge if user wants to access OSS-HDFS What's more, if you want to access OSS-HDFS with PaimonCatalog, you should: 1. Download Jindo SDK: https://github.com/aliyun/alibabacloud-jindodata/blob/latest/docs/user/zh/jindosdk/jindosdk_download.md 2. copy `jindo-core.jar、jindo-sdk.jar` to `${DORIS_HOME}/fe/lib` and `${DORIS_HOME}/be/lib/java_extensions/preload-extensions` directory.
morningman pushed a commit
to morningman/doris
that referenced
this pull request
Nov 6, 2024
…ss to OSS-HDFS (apache#42585) Fix the problem that paimon catalog can not access to OSS-HDFS. There are 2 problems in paimon catalog: 1. Doris FE can not list paimon tables. This is because we pass these three properties -- `fs.oss.endpoint / fs.oss.accessKeyId / fs.oss.accessKeySecret` -- to the PaimonCatalog. When PaimonCatalog get these three properties, it will use `OSSLoader` rather than `HadoopFileIOLoader`. 2. Doris BE does not use libhdfs to access OSS-HDFS This is because the `tmpLocation` in `LocationPath` does not contain `oss-dls.aliyuncs`. We should use `endpoint` to judge if user wants to access OSS-HDFS What's more, if you want to access OSS-HDFS with PaimonCatalog, you should: 1. Download Jindo SDK: https://github.com/aliyun/alibabacloud-jindodata/blob/latest/docs/user/zh/jindosdk/jindosdk_download.md 2. copy `jindo-core.jar、jindo-sdk.jar` to `${DORIS_HOME}/fe/lib` and `${DORIS_HOME}/be/lib/java_extensions/preload-extensions` directory.
morningman pushed a commit
to morningman/doris
that referenced
this pull request
Nov 18, 2024
…ss to OSS-HDFS (apache#42585) Fix the problem that paimon catalog can not access to OSS-HDFS. There are 2 problems in paimon catalog: 1. Doris FE can not list paimon tables. This is because we pass these three properties -- `fs.oss.endpoint / fs.oss.accessKeyId / fs.oss.accessKeySecret` -- to the PaimonCatalog. When PaimonCatalog get these three properties, it will use `OSSLoader` rather than `HadoopFileIOLoader`. 2. Doris BE does not use libhdfs to access OSS-HDFS This is because the `tmpLocation` in `LocationPath` does not contain `oss-dls.aliyuncs`. We should use `endpoint` to judge if user wants to access OSS-HDFS What's more, if you want to access OSS-HDFS with PaimonCatalog, you should: 1. Download Jindo SDK: https://github.com/aliyun/alibabacloud-jindodata/blob/latest/docs/user/zh/jindosdk/jindosdk_download.md 2. copy `jindo-core.jar、jindo-sdk.jar` to `${DORIS_HOME}/fe/lib` and `${DORIS_HOME}/be/lib/java_extensions/preload-extensions` directory.
Closed
Closed
Closed
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…ss to OSS-HDFS (apache#42585) Fix the problem that paimon catalog can not access to OSS-HDFS. There are 2 problems in paimon catalog: 1. Doris FE can not list paimon tables. This is because we pass these three properties -- `fs.oss.endpoint / fs.oss.accessKeyId / fs.oss.accessKeySecret` -- to the PaimonCatalog. When PaimonCatalog get these three properties, it will use `OSSLoader` rather than `HadoopFileIOLoader`. 2. Doris BE does not use libhdfs to access OSS-HDFS This is because the `tmpLocation` in `LocationPath` does not contain `oss-dls.aliyuncs`. We should use `endpoint` to judge if user wants to access OSS-HDFS What's more, if you want to access OSS-HDFS with PaimonCatalog, you should: 1. Download Jindo SDK: https://github.com/aliyun/alibabacloud-jindodata/blob/latest/docs/user/zh/jindosdk/jindosdk_download.md 2. copy `jindo-core.jar、jindo-sdk.jar` to `${DORIS_HOME}/fe/lib` and `${DORIS_HOME}/be/lib/java_extensions/preload-extensions` directory.
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the problem that paimon catalog can not access to OSS-HDFS.
There are 2 problems in paimon catalog:
Doris FE can not list paimon tables.
This is because we pass these three properties --
fs.oss.endpoint / fs.oss.accessKeyId / fs.oss.accessKeySecret-- to the PaimonCatalog. When PaimonCatalog get these three properties, it will useOSSLoaderrather thanHadoopFileIOLoader.Doris BE does not use libhdfs to access OSS-HDFS
This is because the
tmpLocationinLocationPathdoes not containoss-dls.aliyuncs. We should useendpointto judge if user wants to access OSS-HDFSWhat's more, if you want to access OSS-HDFS with PaimonCatalog, you should:
jindo-core.jar、jindo-sdk.jarto${DORIS_HOME}/fe/liband${DORIS_HOME}/be/lib/java_extensions/preload-extensionsdirectory.