Add optional libhdfs backend for HDFS sources - #325
Draft
xiajingchun with Copilot wants to merge 2 commits into
Draft
Add optional libhdfs backend for HDFS sources#325xiajingchun with Copilot wants to merge 2 commits into
xiajingchun with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: xiajingchun <6269380+xiajingchun@users.noreply.github.com>
Co-authored-by: xiajingchun <6269380+xiajingchun@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
xiajingchun
July 15, 2026 09:44
View session
|
|
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.
Nebula Importer’s HDFS reader only supported the pure-Go client path, which is not suitable for clusters that require Hadoop’s native client behavior such as KMS-backed encryption zones. This change adds an opt-in
libhdfsbackend and the config needed to route HDFS reads through the native Hadoop stack when required.Backend selection
sources[].hdfs.backendwithgoas the default andlibhdfsas an opt-in path.backend: libhdfsis explicitly configured.Native HDFS path
libhdfssource implementation for open/read/stat/list/glob operations.libhdfsstub so default builds continue to work without CGO or native Hadoop libraries.Hadoop/Kerberos configuration
hadoopConfigDirhadoopHomejavaHomecoreSiteFilehdfsSiteFilekrb5ConfigFileandccacheFile.Build and docs
build-libhdfsmake target for CGO +libhdfsbuilds.libhdfs-backed HDFS source.Example: