Repository navigation
Conversation
Signed-off-by: jiangxt2 <jiangxt2@vip.qq.com>
This branch has not been deployed
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 free
to 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.
Description
Discover HDFS Kerberos settings from a Doris Hive Catalog and use an authorized, locally mounted keytab to maintain process-local tickets on the Ray driver and workers. Explicit Arrow filesystems retain priority.
Fall back to Doris when native planning fails before invoking Ray's Parquet reader. Once the reader is called, propagate failures without replaying the read through Doris. Known unsupported HMS authentication modes retain Doris execution.
Related issues
Related to apache/arrow#55424.
How tested
python -m pytest -p no:cacheprovider tests/unit -q: 660 passed.python -m pytest -p no:cacheprovider tests/integration -v: 65 passed against Doris 4.0.6.python tests/native_integration/kerberos_cluster_run.py: real Kerberos HDFS with two Ray workers; native reads, ticket renewal or re-login, driver-side fallback, and a worker credential failure after invoking the Ray reader passed. See the native integration README for setup.Additional information
The keytab must be mounted at the catalog-advertised path on the driver and each eligible worker under the configured trusted root. This change does not distribute keytabs. Native reads do not enforce Doris row filters or column masking.
The Kerberos integration used a plain Thrift HMS; Kerberos-authenticated HMS and multiple identities sharing one PyArrow worker/JVM were not verified. Some deferred Ray errors may not include the suggestion to disable
auto_native_read.