Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
'create table as' statement causes the following errors:
2013-09-25 22:59:38,821 DEBUG master.TajoAsyncDispatcher (TajoAsyncDispatcher.java:register(159)) - Registering class org.apache.tajo.master.event.QueryEventType for class org.apache.tajo.master.querymaster.Query 2013-09-25 22:59:38,821 DEBUG master.TajoAsyncDispatcher (TajoAsyncDispatcher.java:handle(195)) - q_1380117351438_0003,add event:INIT,EventType: INIT,null 2013-09-25 22:59:38,821 DEBUG master.TajoAsyncDispatcher (TajoAsyncDispatcher.java:handle(195)) - q_1380117351438_0003,add event:START,EventType: START,null 2013-09-25 22:59:38,821 ERROR service.CompositeService (CompositeService.java:start(72)) - Error starting services org.apache.tajo.worker.AbstractResourceAllocator java.lang.IllegalStateException: For this operation, the current service state must be INITED instead of NOTINITED at org.apache.hadoop.yarn.service.ServiceOperations.ensureCurrentState(ServiceOperations.java:45) at org.apache.hadoop.yarn.service.AbstractService.ensureCurrentState(AbstractService.java:148) at org.apache.hadoop.yarn.service.AbstractService.start(AbstractService.java:92) at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:70) at org.apache.tajo.worker.TajoResourceAllocator.start(TajoResourceAllocator.java:131) at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68) at org.apache.tajo.master.querymaster.QueryMasterTask.start(QueryMasterTask.java:150) at org.apache.tajo.master.querymaster.QueryMaster$QueryStartEventHandler.handle(QueryMaster.java:254) at org.apache.tajo.master.querymaster.QueryMaster$QueryStartEventHandler.handle(QueryMaster.java:246) at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137) at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79) at java.lang.Thread.run(Thread.java:662) 2013-09-25 22:59:38,822 ERROR service.CompositeService (CompositeService.java:start(72)) - Error starting services org.apache.tajo.master.querymaster.QueryMasterTask java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.apache.hadoop.yarn.service.CompositeService.stop(CompositeService.java:97) at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:77) at org.apache.tajo.worker.TajoResourceAllocator.start(TajoResourceAllocator.java:131) at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68) at org.apache.tajo.master.querymaster.QueryMasterTask.start(QueryMasterTask.java:150) at org.apache.tajo.master.querymaster.QueryMaster$QueryStartEventHandler.handle(QueryMaster.java:254) at org.apache.tajo.master.querymaster.QueryMaster$QueryStartEventHandler.handle(QueryMaster.java:246) at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137) at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79) at java.lang.Thread.run(Thread.java:662) 2013-09-25 22:59:38,822 FATAL master.TajoAsyncDispatcher (TajoAsyncDispatcher.java:dispatch(143)) - Error in dispatcher thread:QUERY_START org.apache.hadoop.yarn.YarnException: Failed to Start org.apache.tajo.master.querymaster.QueryMasterTask at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:78) at org.apache.tajo.master.querymaster.QueryMasterTask.start(QueryMasterTask.java:150) at org.apache.tajo.master.querymaster.QueryMaster$QueryStartEventHandler.handle(QueryMaster.java:254) at org.apache.tajo.master.querymaster.QueryMaster$QueryStartEventHandler.handle(QueryMaster.java:246) at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137) at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.apache.hadoop.yarn.service.CompositeService.stop(CompositeService.java:97) at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:77) at org.apache.tajo.worker.TajoResourceAllocator.start(TajoResourceAllocator.java:131) at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68) ... 6 more
Attachments
Issue Links
- relates to
-
TAJO-236 Implement LogicalPlanVerifier to check if a logical plan is valid
- Resolved