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/04/13 13:55:38 UTC

[doris] branch branch-1.2-lts updated: [Fix](catalog)Fix hudi-catalog get file split error (#18644)

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 ef99144a72 [Fix](catalog)Fix hudi-catalog get file split error (#18644)
ef99144a72 is described below

commit ef99144a72605e0be689f5e1fa0a53e47bdeeb5f
Author: Calvin Kirs <AC...@yeah.net>
AuthorDate: Thu Apr 13 21:55:28 2023 +0800

    [Fix](catalog)Fix hudi-catalog get file split error (#18644)
    
    `hudi-common` depends on `parque-avro`, but the dependency scope is `provide`.
    When we use `hudi-catalog`, `HoodieAvroWriteSupport` will be called. This method depends on `parque-avro`, so it will generate ClassNotFound
    Describe your changes.
---
 fe/fe-core/pom.xml | 5 ++++-
 fe/pom.xml         | 5 +++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/fe/fe-core/pom.xml b/fe/fe-core/pom.xml
index 0f69faa571..92a84f764e 100644
--- a/fe/fe-core/pom.xml
+++ b/fe/fe-core/pom.xml
@@ -748,7 +748,10 @@ under the License.
             <groupId>org.apache.hudi</groupId>
             <artifactId>hudi-hadoop-mr</artifactId>
         </dependency>
-
+        <dependency>
+            <groupId>org.apache.parquet</groupId>
+            <artifactId>parquet-avro</artifactId>
+        </dependency>        
         <dependency> 
             <groupId>org.mariadb.jdbc</groupId>
             <artifactId>mariadb-java-client</artifactId>
diff --git a/fe/pom.xml b/fe/pom.xml
index ac0fbcf385..0f07750bb7 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -893,6 +893,11 @@ under the License.
                 <artifactId>hudi-hadoop-mr</artifactId>
                 <version>${hudi.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.parquet</groupId>
+                <artifactId>parquet-avro</artifactId>
+                <version>${parquet.version}</version>
+            </dependency>
 
             <dependency>
                 <groupId>org.apache.parquet</groupId>


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