You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "hyoungjunkim (JIRA)" <ji...@apache.org> on 2014/04/07 03:20:14 UTC

[jira] [Created] (TAJO-738) NPE occur when failed in QueryMaster's GlobalPlanner.build().

hyoungjunkim created TAJO-738:
---------------------------------

             Summary: NPE occur when failed in QueryMaster's GlobalPlanner.build().  
                 Key: TAJO-738
                 URL: https://issues.apache.org/jira/browse/TAJO-738
             Project: Tajo
          Issue Type: Bug
            Reporter: hyoungjunkim
            Priority: Minor


If making plan in the QueryMaster, the bellow error message is shown in QueryMaster's log.
{noformat}
2014-04-07 10:11:33,090 INFO  [QueryMasterClientProtocol-1 Server Worker #2] worker.TajoWorkerClientService (TajoWorkerClientService.java:closeQuery(211)) - Stop Query:q_1396833048200_0002
java.lang.NullPointerException
        at org.apache.tajo.master.querymaster.QueryMaster.buildTajoHeartBeat(QueryMaster.java:364)
        at org.apache.tajo.master.querymaster.QueryMaster.access$800(QueryMaster.java:60)
        at org.apache.tajo.master.querymaster.QueryMaster$QueryHeartbeatThread.run(QueryMaster.java:408)
{noformat}

Also similar message shown in CLI.
{noformat}
2014-04-07 10:11:33,087 ERROR [TajoClient-1 Worker #0] rpc.RpcProtos (BlockingRpcClient.java:exceptionCaught(215)) - RPC Exception:Exception [org.apache.tajo.ipc.QueryMasterClientProtocol(192.168.0.159:28092)]: java.lang.NullPointerException
	at org.apache.tajo.worker.TajoWorkerClientService$TajoWorkerClientProtocolServiceHandler.getQueryStatus(TajoWorkerClientService.java:190)
	at org.apache.tajo.ipc.QueryMasterClientProtocol$QueryMasterClientProtocolService$2.callBlockingMethod(QueryMasterClientProtocol.java:115)
	at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.messageReceived(BlockingRpcServer.java:103)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
	at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:70)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107)
	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)
	at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
{noformat}



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