shanyu zhao created SPARK-24975:
-----------------------------------

             Summary: Spark history server REST API /api/v1/version returns 
error 404
                 Key: SPARK-24975
                 URL: https://issues.apache.org/jira/browse/SPARK-24975
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.3.1, 2.3.0
            Reporter: shanyu zhao


Spark history server REST API provides /api/v1/version, according to doc:

[https://spark.apache.org/docs/latest/monitoring.html]

However, for Spark 2.3, we see:
{code:java}
curl http://localhost:18080/api/v1/version
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /api/v1/version. Reason:
<pre> Not Found</pre></p><hr><a href="http://eclipse.org/jetty";>Powered by 
Jetty:// 9.3.z-SNAPSHOT</a><hr/>

</body>
{code}
On a Spark 2.2 cluster, we see:
{code:java}
curl http://localhost:18080/api/v1/version
{
"spark" : "2.2.0"
}{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to