Skip to content

Conversation

@morningman
Copy link
Contributor

@morningman morningman commented Mar 18, 2025

Revert #173 but keep hdfsBuilderSetPrincipal() in hdfs.h.

We can not only use hdfsBuilderSetUsername() to set principal. If user is set, the UserGroupInformation.getBestUGI()
will try getting ugi from remote user, not from kerberos subject.

@morningman morningman merged commit 031dce8 into apache:hadoop-3.3.6 Mar 18, 2025
morningman added a commit to apache/doris that referenced this pull request Mar 18, 2025
koarz pushed a commit to koarz/doris that referenced this pull request Jun 4, 2025
morningman added a commit to morningman/doris that referenced this pull request Jun 24, 2025
morningman added a commit that referenced this pull request Oct 20, 2025
… but remain principal interface (#298)

Revert #173 but keep `hdfsBuilderSetPrincipal()` in hdfs.h.

We can not only use `hdfsBuilderSetUsername()` to set principal. If user is set, the `UserGroupInformation.getBestUGI()`
will try getting ugi from remote user, not from kerberos subject.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant