hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6953) All CompactorTest failing with Table/View 'NEXT_TXN_ID' does not exist
Date Tue, 22 Apr 2014 17:32:17 GMT

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

Alan Gates commented on HIVE-6953:
----------------------------------

[~amareshwari], I can't reproduce this.  Tests pass for me in 0.13 and trunk.  These tests
should be creating the tables they need as part of the tests (see TxnHandler.checkQFileTestHack()).
 Is there anything in your logs indicating it tried to create the tables and failed?  Are
you doing anything in your build to turn off the hive.in.test config value?  This would prevent
the tables being created.

> All CompactorTest failing with Table/View 'NEXT_TXN_ID' does not exist
> ----------------------------------------------------------------------
>
>                 Key: HIVE-6953
>                 URL: https://issues.apache.org/jira/browse/HIVE-6953
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Alan Gates
>
> When I'm running all tests through the command 'mvn clean install -Phadoop-1', all CompactorTest
classes TestInitiator, TestWorker, TestCleaner fail with following exception :
> {noformat}
> org.apache.hadoop.hive.metastore.api.MetaException: Unable to select from transaction
database java.sql.SQLSyntaxErrorException: Table/View 'NEXT_TXN_ID' does not exist.
>         at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
>         at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
>         at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
>         at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
> ....
> Caused by: java.sql.SQLException: Table/View 'NEXT_TXN_ID' does not exist.
>         at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
>         at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
> {noformat}
> This is happening on branch-0.13. Has anyone faced this problem?
> [~owen.omalley] or someone else help me solve this. Do i have to set anything?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message