spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Genmao Yu (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (SPARK-15854) Spark History server gets null pointer exception
Date Thu, 27 Oct 2016 08:40:58 GMT

     [ https://issues.apache.org/jira/browse/SPARK-15854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Genmao Yu updated SPARK-15854:
------------------------------
    Comment: was deleted

(was: Got the same problem, resolved?)

> Spark History server gets null pointer exception
> ------------------------------------------------
>
>                 Key: SPARK-15854
>                 URL: https://issues.apache.org/jira/browse/SPARK-15854
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Yesha Vora
>
> In Spark2, Spark-History Server is configured to FSHistoryProvider. 
> Spark HS does not show any finished/running applications and gets Null pointer exception.
> {code}
> 16/06/03 23:06:40 INFO FsHistoryProvider: Replaying log path: hdfs://xx:8020/spark2-history/application_1464912457462_0002.inprogress
> 16/06/03 23:06:50 INFO FsHistoryProvider: Replaying log path: hdfs://xx:8020/spark2-history/application_1464912457462_0002
> 16/06/03 23:08:27 WARN ServletHandler: Error for /api/v1/applications
> java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
>         at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
>         at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:244)
>         at org.spark_project.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
>         at org.spark_project.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:472)
>         at org.spark_project.jetty.servlet.ServletHolder.ensureInstance(ServletHolder.java:767)
>         at org.spark_project.jetty.servlet.ServletHolder.prepare(ServletHolder.java:752)
>         at org.spark_project.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
>         at org.spark_project.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>         at org.spark_project.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>         at org.spark_project.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>         at org.spark_project.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>         at org.spark_project.jetty.servlets.gzip.GzipHandler.handle(GzipHandler.java:479)
>         at org.spark_project.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>         at org.spark_project.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>         at org.spark_project.jetty.server.Server.handle(Server.java:499)
>         at org.spark_project.jetty.server.HttpChannel.handle(HttpChannel.java:311)
>         at org.spark_project.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>         at org.spark_project.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
>         at org.spark_project.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>         at org.spark_project.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>         at java.lang.Thread.run(Thread.java:745)
> 16/06/03 23:08:33 WARN ServletHandler: /api/v1/applications
> java.lang.NullPointerException
>         at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
>         at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
>         at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
>         at org.spark_project.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
>         at org.spark_project.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
>         at org.spark_project.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>         at org.spark_project.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>         at org.spark_project.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>         at org.spark_project.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>         at org.spark_project.jetty.servlets.gzip.GzipHandler.handle(GzipHandler.java:479)
>         at org.spark_project.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>         at org.spark_project.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>         at org.spark_project.jetty.server.Server.handle(Server.java:499)
>         at org.spark_project.jetty.server.HttpChannel.handle(HttpChannel.java:311)
>         at org.spark_project.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>         at org.spark_project.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
>         at org.spark_project.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>         at org.spark_project.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message