[
https://issues.apache.org/jira/browse/HIVE-26494?focusedWorklogId=803423&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-803423
]
ASF GitHub Bot logged work on HIVE-26494:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Aug/22 01:39
Start Date: 25/Aug/22 01:39
Worklog Time Spent: 10m
Work Description: dengzhhu653 commented on PR #3547:
URL: https://github.com/apache/hive/pull/3547#issuecomment-1226672531
Exceptions on master:
```
java.lang.AssertionError: Not expecting exception: java.sql.SQLException:
Failed to close statement
at org.junit.Assert.fail(Assert.java:89)
at
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testHttpRetryOnServerIdleTimeout(TestJdbcWithMiniHS2.java:1105)
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.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
```
or
```
org.apache.hive.service.cli.HiveSQLException: Unable to run new queries as
HiveServer2 is decommissioned or inactive, state: STOPPED
at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:383)
at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:369)
at
org.apache.hive.jdbc.HiveStatement.runAsyncOnServer(HiveStatement.java:354)
at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:293)
at
org.apache.hive.jdbc.TestJdbcWithMiniHS2.tearDownAfterClass(TestJdbcWithMiniHS2.java:178)
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.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
```
Issue Time Tracking
-------------------
Worklog Id: (was: 803423)
Time Spent: 0.5h (was: 20m)
> Fix flaky test TestJdbcWithMiniHS2 testHttpRetryOnServerIdleTimeout
> -------------------------------------------------------------------
>
> Key: HIVE-26494
> URL: https://issues.apache.org/jira/browse/HIVE-26494
> Project: Hive
> Issue Type: Test
> Reporter: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The TestJdbcWithMiniHS2#testHttpRetryOnServerIdleTimeout fails on master:
> [http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/master/1362/tests]
> It can be fixed by setting hive.server2.thrift.http.max.idle.time to a larger
> value, other than 5ms.
> Flaky check: http://ci.hive.apache.org/job/hive-flaky-check/585/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)