Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1753

GlobalEngine causes NPE occurs occasionally

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0, 0.11.1
    • Component/s: Metrics
    • Labels:
      None

      Description

      tpch100> select count(*) from nation;
      ERROR: internal error: %s
      
      15-08-12 17:02:59,984 INFO org.apache.tajo.master.GlobalEngine: Query: select count(*) from nation
      2015-08-12 17:02:59,988 ERROR org.apache.tajo.master.GlobalEngine:
      Stack Trace:
      java.lang.NullPointerException
              at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:185)
              at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:304)
              at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:659)
              at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.channelRead0(BlockingRpcServer.java:100)
              at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.channelRead0(BlockingRpcServer.java:61)
              at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
              at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
              at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
              at org.apache.tajo.rpc.MonitorServerHandler.channelRead(MonitorServerHandler.java:70)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
              at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
              at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
              at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
              at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
              at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
              at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
              at java.lang.Thread.run(Thread.java:745)
      
      2015-08-12 17:02:59,988 ERROR org.apache.tajo.master.TajoMasterClientService:
      

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user jinossy opened a pull request:

        https://github.com/apache/tajo/pull/882

        TAJO-1753: GlobalEngine causes NPE occurs occasionally.

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/jinossy/tajo TAJO-1753

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/tajo/pull/882.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #882


        commit 9a22e2e624eb4c605a18882691b71e28974649cc
        Author: Jinho Kim <jhkim@apache.org>
        Date: 2015-11-27T04:00:36Z

        TAJO-1753: GlobalEngine causes NPE occurs occasionally.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user jinossy opened a pull request: https://github.com/apache/tajo/pull/882 TAJO-1753 : GlobalEngine causes NPE occurs occasionally. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinossy/tajo TAJO-1753 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/882.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #882 commit 9a22e2e624eb4c605a18882691b71e28974649cc Author: Jinho Kim <jhkim@apache.org> Date: 2015-11-27T04:00:36Z TAJO-1753 : GlobalEngine causes NPE occurs occasionally.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/882#issuecomment-160093608

        +1 LGTM

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/882#issuecomment-160093608 +1 LGTM
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/tajo/pull/882

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/882
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #608 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/608/)
        TAJO-1753: GlobalEngine causes NPE occurs occasionally. (jhkim: rev ce44234365c585c1f1444aa2b00aaf12e96de229)

        • tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        • CHANGES
        • tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #608 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/608/ ) TAJO-1753 : GlobalEngine causes NPE occurs occasionally. (jhkim: rev ce44234365c585c1f1444aa2b00aaf12e96de229) tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java CHANGES tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        Hide
        jhkim Jinho Kim added a comment -

        committed it
        Thanks for your review!

        Show
        jhkim Jinho Kim added a comment - committed it Thanks for your review!
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #997 (See https://builds.apache.org/job/Tajo-master-build/997/)
        TAJO-1753: GlobalEngine causes NPE occurs occasionally. (jhkim: rev ce44234365c585c1f1444aa2b00aaf12e96de229)

        • tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        • CHANGES
        • tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #997 (See https://builds.apache.org/job/Tajo-master-build/997/ ) TAJO-1753 : GlobalEngine causes NPE occurs occasionally. (jhkim: rev ce44234365c585c1f1444aa2b00aaf12e96de229) tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java CHANGES tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-0.11.1-build #118 (See https://builds.apache.org/job/Tajo-0.11.1-build/118/)
        TAJO-1753: GlobalEngine causes NPE occurs occasionally. (jhkim: rev 7f00b0444f923230657bfbcec7c830b9219a7234)

        • tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java
        • CHANGES
        • tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-0.11.1-build #118 (See https://builds.apache.org/job/Tajo-0.11.1-build/118/ ) TAJO-1753 : GlobalEngine causes NPE occurs occasionally. (jhkim: rev 7f00b0444f923230657bfbcec7c830b9219a7234) tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java CHANGES tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java

          People

          • Assignee:
            jhkim Jinho Kim
            Reporter:
            jhkim Jinho Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development