You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2024/01/05 18:55:00 UTC
[jira] [Updated] (HIVE-27982) TestConcurrentDppInserts fails on master
[ https://issues.apache.org/jira/browse/HIVE-27982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
László Bodor updated HIVE-27982:
--------------------------------
Description:
http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4977/3/tests
{code}
org.opentest4j.AssertionFailedError:
there were exceptions: org.apache.hadoop.hive.ql.processors.CommandProcessorException:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.StatsTask. MetaException(message:Unable to update Column stats for tu due to: A lock could not be obtained due to a deadlock, cycle of locks and waiters is:
Lock : ROW, PARTITIONS, (1,10)
Waiting XID : {1430, S} , APP, INSERT INTO "PART_COL_STATS" ("CS_ID", "CAT_NAME", "DB_NAME","TABLE_NAME", "PARTITION_NAME", "COLUMN_NAME", "COLUMN_TYPE", "PART_ID", "LONG_LOW_VALUE", "LONG_HIGH_VALUE", "DOUBLE_HIGH_VALUE", "DOUBLE_LOW_VALUE", "BIG_DECIMAL_LOW_VALUE", "BIG_DECIMAL_HIGH_VALUE", "NUM_NULLS", "NUM_DISTINCTS", "BIT_VECTOR" , "HISTOGRAM", "AVG_COL_LEN", "MAX_COL_LEN", "NUM_TRUES", "NUM_FALSES", "LAST_ANALYZED", "ENGINE") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Granted XID : {1425, X}
Lock : ROW, PARTITION_PARAMS, (1,45)
Waiting XID : {1425, S} , APP, SELECT A0.PARAM_KEY,A0.PARAM_VALUE FROM PARTITION_PARAMS A0 WHERE A0.PART_ID = ? AND A0.PARAM_KEY IS NOT NULL
Granted XID : {1430, X}
. The selected victim is XID : 1430.) ==> expected: <0> but was: <1>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:542)
at org.apache.hadoop.hive.ql.exec.TestConcurrentDppInserts.testConcurrentCreationOfSamePartition(TestConcurrentDppInserts.java:138)
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.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
{code}
> TestConcurrentDppInserts fails on master
> ----------------------------------------
>
> Key: HIVE-27982
> URL: https://issues.apache.org/jira/browse/HIVE-27982
> Project: Hive
> Issue Type: Bug
> Reporter: László Bodor
> Priority: Major
>
> http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4977/3/tests
> {code}
> org.opentest4j.AssertionFailedError:
> there were exceptions: org.apache.hadoop.hive.ql.processors.CommandProcessorException:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.StatsTask. MetaException(message:Unable to update Column stats for tu due to: A lock could not be obtained due to a deadlock, cycle of locks and waiters is:
> Lock : ROW, PARTITIONS, (1,10)
> Waiting XID : {1430, S} , APP, INSERT INTO "PART_COL_STATS" ("CS_ID", "CAT_NAME", "DB_NAME","TABLE_NAME", "PARTITION_NAME", "COLUMN_NAME", "COLUMN_TYPE", "PART_ID", "LONG_LOW_VALUE", "LONG_HIGH_VALUE", "DOUBLE_HIGH_VALUE", "DOUBLE_LOW_VALUE", "BIG_DECIMAL_LOW_VALUE", "BIG_DECIMAL_HIGH_VALUE", "NUM_NULLS", "NUM_DISTINCTS", "BIT_VECTOR" , "HISTOGRAM", "AVG_COL_LEN", "MAX_COL_LEN", "NUM_TRUES", "NUM_FALSES", "LAST_ANALYZED", "ENGINE") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
> Granted XID : {1425, X}
> Lock : ROW, PARTITION_PARAMS, (1,45)
> Waiting XID : {1425, S} , APP, SELECT A0.PARAM_KEY,A0.PARAM_VALUE FROM PARTITION_PARAMS A0 WHERE A0.PART_ID = ? AND A0.PARAM_KEY IS NOT NULL
> Granted XID : {1430, X}
> . The selected victim is XID : 1430.) ==> expected: <0> but was: <1>
> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
> at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
> at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:542)
> at org.apache.hadoop.hive.ql.exec.TestConcurrentDppInserts.testConcurrentCreationOfSamePartition(TestConcurrentDppInserts.java:138)
> 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.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)