Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.1.0, 2.2.0
-
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.