This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 2251d1f89a3 branch-3.0: [fix](hudi catalog) Fix the Kerberos
authentication error when querying hudi table #51713 (#51902)
2251d1f89a3 is described below
commit 2251d1f89a338a151d9261817b87e57f2e79daed
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jun 20 09:58:58 2025 +0800
branch-3.0: [fix](hudi catalog) Fix the Kerberos authentication error when
querying hudi table #51713 (#51902)
Cherry-picked from #51713
Co-authored-by: heguanhui <[email protected]>
---
.../org/apache/doris/datasource/hudi/source/HudiScanNode.java | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/hudi/source/HudiScanNode.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/hudi/source/HudiScanNode.java
index a6156924e27..8e33dfb2469 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/hudi/source/HudiScanNode.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/hudi/source/HudiScanNode.java
@@ -383,7 +383,14 @@ public class HudiScanNode extends HiveScanNode {
partitionInit = true;
}
List<Split> splits = Collections.synchronizedList(new ArrayList<>());
- getPartitionsSplits(prunedPartitions, splits);
+ try {
+ hmsTable.getCatalog().getPreExecutionAuthenticator().execute(() ->
{
+ getPartitionsSplits(prunedPartitions, splits);
+ return null;
+ });
+ } catch (Exception e) {
+ throw new UserException(ExceptionUtils.getRootCauseMessage(e), e);
+ }
return splits;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]