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] [Reopened] (HIVE-13691) No record with CQ_ID=0 found in COMPACTION_QUEUE
Date Mon, 16 May 2016 23:48:12 GMT

     [ https://issues.apache.org/jira/browse/HIVE-13691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eugene Koifman reopened HIVE-13691:
-----------------------------------

> 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
>             Fix For: 1.3.0, 2.1.0
>
>
> {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