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

Fix incorrect event handler when kill-query failed

    Details

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

      Description

      It should use QueryMasterTask event dispatcher instead of QueryMaster event dispatcher

      2015-08-24 11:00:29,999 ERROR org.apache.tajo.querymaster.QueryMasterTask: Max retry count has been exceeded. attempts=3 caused by: java.net.ConnectException: Connection refused: x.x.x.x:28091
      io.netty.channel.ConnectTimeoutException: Max retry count has been exceeded. attempts=3 caused by: java.net.ConnectException: Connection refused: x.x.x.x:28091
              at org.apache.tajo.rpc.NettyClientBase.doReconnect(NettyClientBase.java:210)
              at org.apache.tajo.rpc.NettyClientBase.connect(NettyClientBase.java:184)
              at org.apache.tajo.rpc.RpcClientManager.getClient(RpcClientManager.java:112)
              at org.apache.tajo.querymaster.QueryMasterTask.killTaskAttempt(QueryMasterTask.java:258)
              at org.apache.tajo.querymaster.QueryMasterTask$LocalTaskEventHandler$1.run(QueryMasterTask.java:280)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      2015-08-24 11:00:30,001 FATAL org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread
      java.lang.Exception: No handler for registered for class org.apache.tajo.master.event.TaskAttemptEventType
              at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:177)
              at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:108)
              at java.lang.Thread.run(Thread.java:745)
      

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user jinossy opened a pull request:

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

        TAJO-1799: Fix incorrect event handler when kill-query failed.

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

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

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

        https://github.com/apache/tajo/pull/707.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 #707


        commit 6dafb22b74249bfe94855dcc91ce849f018ba118
        Author: Jinho Kim <jhkim@apache.org>
        Date: 2015-08-24T03:06:25Z

        TAJO-1799: Fix incorrect event handler when kill-query failed.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user jinossy opened a pull request: https://github.com/apache/tajo/pull/707 TAJO-1799 : Fix incorrect event handler when kill-query failed. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinossy/tajo TAJO-1799 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/707.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 #707 commit 6dafb22b74249bfe94855dcc91ce849f018ba118 Author: Jinho Kim <jhkim@apache.org> Date: 2015-08-24T03:06:25Z TAJO-1799 : Fix incorrect event handler when kill-query failed.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/707#issuecomment-134009584

        +1

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

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/707#issuecomment-134010933

        +1

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

        Github user asfgit closed the pull request at:

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

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

        FAILURE: Integrated in Tajo-master-CODEGEN-build #462 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/462/)
        TAJO-1799: Fix incorrect event handler when kill-query failed. (jhkim: rev cb6fe80760c60ca6b89dc7b46a028c71c407f37a)

        • tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java
        • CHANGES
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #462 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/462/ ) TAJO-1799 : Fix incorrect event handler when kill-query failed. (jhkim: rev cb6fe80760c60ca6b89dc7b46a028c71c407f37a) tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java CHANGES
        Hide
        jhkim Jinho Kim added a comment -

        committed it
        Thanks for quick review!!

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

        FAILURE: Integrated in Tajo-master-build #816 (See https://builds.apache.org/job/Tajo-master-build/816/)
        TAJO-1799: Fix incorrect event handler when kill-query failed. (jhkim: rev cb6fe80760c60ca6b89dc7b46a028c71c407f37a)

        • CHANGES
        • tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-build #816 (See https://builds.apache.org/job/Tajo-master-build/816/ ) TAJO-1799 : Fix incorrect event handler when kill-query failed. (jhkim: rev cb6fe80760c60ca6b89dc7b46a028c71c407f37a) CHANGES tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.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