tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaehwa Jung (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-503) HCatalogStore can't scan several hive databases.
Date Wed, 15 Jan 2014 07:05:19 GMT

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

Jaehwa Jung updated TAJO-503:
-----------------------------

    Description: 
When I scaned hive tables which stored on another database except for default database, TajoMaster
made a error as follows:
{code:xml}
2014-01-15 02:00:58,681 ERROR master.GlobalEngine (GlobalEngine.java:executeQuery(177)) -

Stack Trace:
java.lang.IllegalStateException: Not all targets are evaluated
	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.pushDownProjectablePost(ProjectionPushDownRule.java:368)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitScan(ProjectionPushDownRule.java:306)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitScan(ProjectionPushDownRule.java:37)
	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:93)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitProjection(ProjectionPushDownRule.java:132)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitProjection(ProjectionPushDownRule.java:37)
	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:63)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.pushDownCommonPost(ProjectionPushDownRule.java:319)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitRoot(ProjectionPushDownRule.java:105)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitRoot(ProjectionPushDownRule.java:37)
	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:58)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.rewrite(ProjectionPushDownRule.java:83)
	at org.apache.tajo.engine.planner.rewrite.BasicQueryRewriteEngine.rewrite(BasicQueryRewriteEngine.java:63)
	at org.apache.tajo.engine.planner.LogicalOptimizer.optimize(LogicalOptimizer.java:73)
	at org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:226)
	at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:138)
	at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:135)
	at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:257)
	at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.messageReceived(BlockingRpcServer.java:91)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
{code}

  was:
When I scaned hive tables which stored on other databases except for default database, TajoMaster
made a error as follows:
{code:xml}
2014-01-15 02:00:58,681 ERROR master.GlobalEngine (GlobalEngine.java:executeQuery(177)) -

Stack Trace:
java.lang.IllegalStateException: Not all targets are evaluated
	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.pushDownProjectablePost(ProjectionPushDownRule.java:368)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitScan(ProjectionPushDownRule.java:306)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitScan(ProjectionPushDownRule.java:37)
	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:93)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitProjection(ProjectionPushDownRule.java:132)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitProjection(ProjectionPushDownRule.java:37)
	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:63)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.pushDownCommonPost(ProjectionPushDownRule.java:319)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitRoot(ProjectionPushDownRule.java:105)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitRoot(ProjectionPushDownRule.java:37)
	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:58)
	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.rewrite(ProjectionPushDownRule.java:83)
	at org.apache.tajo.engine.planner.rewrite.BasicQueryRewriteEngine.rewrite(BasicQueryRewriteEngine.java:63)
	at org.apache.tajo.engine.planner.LogicalOptimizer.optimize(LogicalOptimizer.java:73)
	at org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:226)
	at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:138)
	at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:135)
	at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:257)
	at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.messageReceived(BlockingRpcServer.java:91)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
{code}


> HCatalogStore can't scan several hive databases.
> ------------------------------------------------
>
>                 Key: TAJO-503
>                 URL: https://issues.apache.org/jira/browse/TAJO-503
>             Project: Tajo
>          Issue Type: Bug
>          Components: catalog
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>
> When I scaned hive tables which stored on another database except for default database,
TajoMaster made a error as follows:
> {code:xml}
> 2014-01-15 02:00:58,681 ERROR master.GlobalEngine (GlobalEngine.java:executeQuery(177))
- 
> Stack Trace:
> java.lang.IllegalStateException: Not all targets are evaluated
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.pushDownProjectablePost(ProjectionPushDownRule.java:368)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitScan(ProjectionPushDownRule.java:306)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitScan(ProjectionPushDownRule.java:37)
> 	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:93)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitProjection(ProjectionPushDownRule.java:132)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitProjection(ProjectionPushDownRule.java:37)
> 	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:63)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.pushDownCommonPost(ProjectionPushDownRule.java:319)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitRoot(ProjectionPushDownRule.java:105)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.visitRoot(ProjectionPushDownRule.java:37)
> 	at org.apache.tajo.engine.planner.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:58)
> 	at org.apache.tajo.engine.planner.rewrite.ProjectionPushDownRule.rewrite(ProjectionPushDownRule.java:83)
> 	at org.apache.tajo.engine.planner.rewrite.BasicQueryRewriteEngine.rewrite(BasicQueryRewriteEngine.java:63)
> 	at org.apache.tajo.engine.planner.LogicalOptimizer.optimize(LogicalOptimizer.java:73)
> 	at org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:226)
> 	at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:138)
> 	at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:135)
> 	at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:257)
> 	at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.messageReceived(BlockingRpcServer.java:91)
> 	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message