hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13691) No record with CQ_ID=0 found in COMPACTION_QUEUE
Date Tue, 17 May 2016 21:53:12 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15287680#comment-15287680
] 

Eugene Koifman commented on HIVE-13691:
---------------------------------------

Test results.
{noformat}
Test Name Duration Age
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_mapjoin_memcheck	3.9 sec	1
 org.apache.hive.jdbc.TestSSL.testSSLConnectionWithURL	40 sec	1
 org.apache.hive.spark.client.TestSparkClient.testJobSubmission	2.1 sec	1
 org.apache.hadoop.hive.llap.daemon.impl.TestTaskExecutorService.testPreemptionQueueComparator
5 sec	1
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ivyDownload	3.8 sec	2
 org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver_hbase_queries	5 min 20 sec	3
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_insert_values_orig_table_use_metadata
51 sec	8
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join32	6.1 sec	8
 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static
1 min 40 sec	9
 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_dynamic
1 min 21 sec	9
 org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForMemoryTokenStore	1.7
sec	9
 org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForDBTokenStore	0.45 sec
9
 org.apache.hive.minikdc.TestMiniHiveKdc.testLogin	1 min 38 sec	9
 org.apache.hadoop.hive.llap.tez.TestConverters.testFragmentSpecToTaskSpec	36 ms	29
 org.apache.hive.service.cli.session.TestHiveSessionImpl.testLeakOperationHandle	33 sec	29
 org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator.testFinishableStateUpdateFailure
4 sec	42
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_selectindate	17 sec	61
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_avrocountemptytbl	12 sec	61
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_order_null	39 sec	61
 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_join_with_different_encryption_keys
1 min 31 sec	61
 org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3	7.4 sec
61
 org.apache.hadoop.hive.cli.TestMinimrCliDriver.org.apache.hadoop.hive.cli.TestMinimrCliDriver
51 sec	61
{noformat}

Failures not related to the change.

[~wzheng] could you review please

> No record with CQ_ID=0 found in COMPACTION_QUEUE
> ------------------------------------------------
>
>                 Key: HIVE-13691
>                 URL: https://issues.apache.org/jira/browse/HIVE-13691
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.3.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Critical
>             Fix For: 1.3.0, 2.1.0
>
>         Attachments: HIVE-13691.2.patch, HIVE-13691.patch
>
>
> {noformat}
> 2016-04-29 18:49:31,594 ERROR [Thread-11]: compactor.Initiator (Initiator.java:run(141))
- Caught exception while trying to determine if we should compact id:0,dbname:default,tableName:service_logs_v2,par
> tName:ds=2016-04-21,state:^@,type:null,runAs:null,tooManyAborts:false,highestTxnId:0.
 Marking clean to avoid repeated failures, MetaException(message:Timeout when executing method:
getTable)
>         at org.apache.hadoop.hive.metastore.Deadline.newMetaException(Deadline.java:187)
>         at org.apache.hadoop.hive.metastore.Deadline.check(Deadline.java:177)
>         at org.apache.hadoop.hive.metastore.Deadline.checkTimeout(Deadline.java:160)
>         at org.apache.hadoop.hive.metastore.ObjectStore.convertToParts(ObjectStore.java:1839)
>         at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsViaOrmFilter(ObjectStore.java:2255)
>         at org.apache.hadoop.hive.metastore.ObjectStore.access$300(ObjectStore.java:165)
>         at org.apache.hadoop.hive.metastore.ObjectStore$3.getJdoResult(ObjectStore.java:2051)
>         at org.apache.hadoop.hive.metastore.ObjectStore$3.getJdoResult(ObjectStore.java:2043)
>         at org.apache.hadoop.hive.metastore.ObjectStore$GetHelper.run(ObjectStore.java:2400)
>         at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByNamesInternal(ObjectStore.java:2043)
>         at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByNames(ObjectStore.java:2037)
>         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:114)
>         at com.sun.proxy.$Proxy0.getPartitionsByNames(Unknown Source)
>         at org.apache.hadoop.hive.ql.txn.compactor.CompactorThread.resolvePartition(CompactorThread.java:111)
>         at org.apache.hadoop.hive.ql.txn.compactor.Initiator.run(Initiator.java:129)
> Caused by: org.apache.hadoop.hive.metastore.DeadlineException: Timeout when executing
method: getTable
>         at org.apache.hadoop.hive.metastore.Deadline.check(Deadline.java:174)
>         ... 16 more
> 2016-04-29 18:49:31,595 ERROR [Thread-11]: compactor.Initiator (Initiator.java:run(154))
- Initiator loop caught unexpected exception this time through the loop: java.lang.IllegalStateException:
No record with CQ_ID=0 found in COMPACTION_QUEUE
>         at org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler.markFailed(CompactionTxnHandler.java:861)
>         at org.apache.hadoop.hive.ql.txn.compactor.Initiator.run(Initiator.java:144)
> {noformat}
> {noformat}
> 2016-04-29 18:49:31,595 ERROR [Thread-11]: compactor.Initiator (Initiator.java:run(154))
- Initiator loop caught unexpected exception this time through the loop: java.lang.IllegalStateException:
No record with CQ_ID=0 found in COMPACTION_QUEUE
>         at org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler.markFailed(CompactionTxnHandler.java:861)
>         at org.apache.hadoop.hive.ql.txn.compactor.Initiator.run(Initiator.java:144)
> {noformat}
> is triggered by _DeadlineException: Timeout when executing method_ but is nonetheless
an issue.
> We should be able to record an entry in completed_compaction_queue to represent a failed
compaction even if an entry in compaction_queue was never made, as is the case here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message