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

Download link in history server UI is not correct

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0
    • Fix Version/s: 2.1.2, 2.2.0
    • Component/s: Spark Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: