You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/06/21 13:06:16 UTC

[doris] branch branch-1.2-lts updated: [fix](multi-catalog)supported read dlf from properties for 1.2 (#20722)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 5fde1a08b3 [fix](multi-catalog)supported read dlf from properties for 1.2 (#20722)
5fde1a08b3 is described below

commit 5fde1a08b31b87bdda49664d5ca64841f2a72198
Author: slothever <18...@users.noreply.github.com>
AuthorDate: Wed Jun 21 21:06:08 2023 +0800

    [fix](multi-catalog)supported read dlf from properties for 1.2 (#20722)
    
    also supported read dlf from properties for 1.2
---
 fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java
index 3c9585bed2..d227da65df 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java
@@ -103,6 +103,7 @@ public class HMSResource extends Resource {
         }
         // read properties from hive-site.xml.
         HiveConf hiveConf = new HiveConf();
+        res.forEach(hiveConf::set);
         String metastoreType = hiveConf.get(HIVE_METASTORE_TYPE);
         if (!DLF_TYPE.equalsIgnoreCase(metastoreType)) {
             return res;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org