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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3.0, 2.3.1
    • Fix Version/s: None
    • Component/s: Spark Core
    • Labels:
      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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment