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

Download link in history server UI is not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 2.1.2, 2.2.0
    • Spark Core
    • None

    Description

      The download link in history server UI is concatenated with:

            <td><a href="{{uiroot}}/api/v1/applications/{{id}}/{{num}}/logs" class="btn btn-info btn-mini">Download</a></td>
      

      Here num filed represents number of attempts, this is not equal to REST APIs. In the REST API, if attempt id is not existed, then num field should be empty, otherwise this num field should actually be attemptId.

      This will lead to the issue of "no such app", rather than correctly download the event log.

      Attachments

        Activity

          People

            jerryshao Saisai Shao
            jerryshao Saisai Shao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: