This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 73e14b7a2bc [chore](iceberg)Support Iceberg HMS Catalog with FileIO
integration (#54951)
73e14b7a2bc is described below
commit 73e14b7a2bc191163fde8fdf7db69619b3c727d9
Author: Calvin Kirs <[email protected]>
AuthorDate: Tue Aug 19 01:47:02 2025 +0800
[chore](iceberg)Support Iceberg HMS Catalog with FileIO integration (#54951)
---
.../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 09d1ff7c5c4..db9ec672d4a 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;
@@ -73,6 +74,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 {
this.executionAuthenticator.execute(() ->
hiveCatalog.initialize(catalogName, catalogProps));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]