azkaban / azkaban-plugins

Plugins for Azkaban.
https://azkaban.github.io
Apache License 2.0
130 stars 178 forks source link

Kill HadoopShell Job get java.lang.NullPointerException #246

Open bleachzk opened 8 years ago

bleachzk commented 8 years ago
08-10-2016 11:48:52 CST hive-demo WARN - something happened while trying to kill all spawned jobs
java.lang.NullPointerException
    at azkaban.jobtype.HadoopJobUtils.proxyUserKillAllSpawnedHadoopJobs(HadoopJobUtils.java:346)
    at azkaban.jobtype.HadoopHiveJob.cancel(HadoopHiveJob.java:290)
    at azkaban.execapp.JobRunner.kill(JobRunner.java:658)
    at azkaban.execapp.FlowRunner.kill(FlowRunner.java:930)
    at azkaban.execapp.FlowRunner.kill(FlowRunner.java:907)
    at azkaban.execapp.FlowRunnerManager.cancelFlow(FlowRunnerManager.java:601)
    at azkaban.execapp.ExecutorServlet.handleAjaxCancel(ExecutorServlet.java:322)
    at azkaban.execapp.ExecutorServlet.doGet(ExecutorServlet.java:116)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)