This is an automated email from the ASF dual-hosted git repository. ravipesala pushed a commit to branch branch-1.6 in repository https://gitbox.apache.org/repos/asf/carbondata.git
commit dff8ab38a986b388182a12f60dd4272659e1cbb6 Author: Zhang Zhichao <441586...@qq.com> 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 12d7e6e..bf729c5 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -107,6 +107,7 @@ <exclude>org.apache.spark:*</exclude> <exclude>org.apache.zookeeper:*</exclude> <exclude>org.apache.avro:*</exclude> + <exclude>org.apache.hive:*</exclude> <exclude>com.google.guava:guava</exclude> <exclude>org.xerial.snappy:snappy-java</exclude> <!--add more items to be excluded from the assembly-->