Sagar Sumit created HUDI-4203:
---------------------------------
Summary: Fix TestHiveSyncTool setup for hiveql sync mode
Key: HUDI-4203
URL: https://issues.apache.org/jira/browse/HUDI-4203
Project: Apache Hudi
Issue Type: Task
Reporter: Sagar Sumit
Fix For: 0.12.0
With the change in [https://github.com/apache/hudi/pull/5768,] we disabled hive
sync tests for `hiveql` mode. CI run:
[https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=9123&view=logs&j=b1544eb9-7ff1-5db9-0187-3e05abf459bc&t=e0ae894b-41c9-5f4b-7ed2-bdf5243b02e7]
{code:java}
[ERROR] org.apache.hudi.hive.TestHiveSyncTool.testDropPartition(String)[2]
Time elapsed: 0.213 s <<< ERROR!
org.apache.hudi.hive.HoodieHiveSyncException: Got runtime exception when hive
syncing
at org.apache.hudi.hive.HiveSyncTool.initClient(HiveSyncTool.java:94)
at org.apache.hudi.hive.HiveSyncTool.<init>(HiveSyncTool.java:83)
at org.apache.hudi.hive.HiveSyncTool.<init>(HiveSyncTool.java:72)
at
org.apache.hudi.hive.TestHiveSyncTool.reinitHiveSyncClient(TestHiveSyncTool.java:1140)
at
org.apache.hudi.hive.TestHiveSyncTool.testDropPartition(TestHiveSyncTool.java:822)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
at
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92)
at
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at
org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:212)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:208)
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)