carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [carbondata] branch master updated: [HOTFIX] Remove hive-service from carbondata assembly jar
Date Wed, 04 Sep 2019 14:58:16 GMT
This is an automated email from the ASF dual-hosted git repository.

jackylk pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new 20e4149  [HOTFIX] Remove hive-service from carbondata assembly jar
20e4149 is described below

commit 20e4149fd0d2f385a367a423b0ada771b6559e92
Author: Zhang Zhichao <>
AuthorDate: Wed Sep 4 14:36:06 2019 +0800

    [HOTFIX] Remove hive-service from carbondata assembly jar
    Problem: In some environments, there will occur 'No Such Method: registerCurrentOperationLog'
exception while execute sql on carbon thrift server.
    Cause: spark hive thrift module rewrite class 'org.apache.hive.service.cli.operation.ExecuteStatementOperation'
and add method 'registerCurrentOperationLog' in it, but when start carbon thrift server, it
maybe load class 'ExecuteStatementOperation' first from carbondata assembly jar (includes
'org.apache.hive:hive-service'), this class 'ExecuteStatementOperation' which is from hive-service
jar doesn't have method 'registerCurrentOperationLog', so it throws NoSuchMethodException.
    Solution: remove all artifacts of 'org.apache.hive' when assemble carbondata jar.
    This closes #3373
 assembly/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/assembly/pom.xml b/assembly/pom.xml
index 9ac2e78..d6a3ce6 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -107,6 +107,7 @@
+              <exclude>org.apache.hive:*</exclude>
               <!--add more items to be excluded from the assembly-->

View raw message