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)
      

        Attachments

          Activity

            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: