Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24975

Spark history server REST API /api/v1/version returns error 404

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.3.0, 2.3.1
    • None
    • Spark Core
    • None

    Description

      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:

      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>
      

      On a Spark 2.2 cluster, we see:

      curl http://localhost:18080/api/v1/version
      {
      "spark" : "2.2.0"
      }

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shanyu shanyu zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: