phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mujtaba Chohan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2504) Exception while running query on transactional table
Date Thu, 10 Dec 2015 23:14:11 GMT

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

Mujtaba Chohan commented on PHOENIX-2504:
-----------------------------------------

Yes [~jamestaylor] unblocked on this. Minor issue with row count being incorrect for a new
transactional Pherf table due to PHOENIX-2513 which Cody or I will look into. 

CLI: tephra status 
This returned _running_ even when transaction manager was down, otherwise it returns _stopped_.

 

> Exception while running query on transactional table
> ----------------------------------------------------
>
>                 Key: PHOENIX-2504
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2504
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>            Assignee: Thomas D'Silva
>
> Auto-commit was on and tephra status was running. On client while running any query:
> {code}
> java.lang.RuntimeException: java.lang.Exception: Thrift error for co.cask.tephra.distributed.TransactionServiceClient$2@44de0113:
Internal error processing startShort
> 	at com.google.common.base.Throwables.propagate(Throwables.java:160)
> 	at co.cask.tephra.distributed.TransactionServiceClient.startShort(TransactionServiceClient.java:269)
> 	at co.cask.tephra.TransactionContext.start(TransactionContext.java:89)
> 	at org.apache.phoenix.execute.MutationState.startTransaction(MutationState.java:310)
> 	at org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:462)
> 	at org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:404)
> 	at org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:396)
> 	at org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:392)
> 	at org.apache.phoenix.compile.FromCompiler$BaseColumnResolver.createTableRef(FromCompiler.java:410)
> 	at org.apache.phoenix.compile.FromCompiler$SingleTableColumnResolver.<init>(FromCompiler.java:285)
> 	at org.apache.phoenix.compile.FromCompiler.getResolverForQuery(FromCompiler.java:186)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:389)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:370)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:263)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:258)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:257)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1286)
> {code}



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

Mime
View raw message