This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 91503d80f40 branch-3.1: [chore](iceberg)Support Iceberg HMS Catalog
with FileIO integration #54951 (#54965)
91503d80f40 is described below
commit 91503d80f40a1d2b6aac37fa9961dc4b82335481
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Aug 19 11:36:36 2025 +0800
branch-3.1: [chore](iceberg)Support Iceberg HMS Catalog with FileIO
integration #54951 (#54965)
Cherry-picked from #54951
Co-authored-by: Calvin Kirs <[email protected]>
---
.../property/metastore/IcebergHMSMetaStoreProperties.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/property/metastore/IcebergHMSMetaStoreProperties.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/property/metastore/IcebergHMSMetaStoreProperties.java
index 9f3bdb3b686..1ad06e2922a 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/property/metastore/IcebergHMSMetaStoreProperties.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/property/metastore/IcebergHMSMetaStoreProperties.java
@@ -20,6 +20,7 @@ package org.apache.doris.datasource.property.metastore;
import
org.apache.doris.common.security.authentication.HadoopExecutionAuthenticator;
import org.apache.doris.datasource.iceberg.IcebergExternalCatalog;
import org.apache.doris.datasource.property.ConnectorProperty;
+import org.apache.doris.datasource.property.storage.HdfsProperties;
import org.apache.doris.datasource.property.storage.StorageProperties;
import org.apache.commons.lang3.StringUtils;
@@ -75,6 +76,13 @@ public class IcebergHMSMetaStoreProperties extends
AbstractIcebergProperties {
for (Map.Entry<String, String> entry :
sp.getHadoopStorageConfig()) {
catalogProps.put(entry.getKey(), entry.getValue());
}
+ if (sp instanceof HdfsProperties) {
+ HdfsProperties hdfsProps = (HdfsProperties) sp;
+ if (hdfsProps.isKerberos()) {
+ catalogProps.put(CatalogProperties.FILE_IO_IMPL,
+
"org.apache.doris.datasource.iceberg.fileio.DelegateFileIO");
+ }
+ }
});
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]