aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/resources/org/apache/spark/ui/static/historypage-template.html7
-rw-r--r--core/src/main/resources/org/apache/spark/ui/static/historypage.js1
2 files changed, 7 insertions, 1 deletions
diff --git a/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html b/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html
index a2b3826dd3..1fd6ef4a71 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html
+++ b/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html
@@ -59,7 +59,11 @@
Last Updated
</span>
</th>
- </tr>
+ <th>
+ <span data-toggle="tooltip" data-placement="above" title="Download the event log for this application">
+ Event Log
+ </span>
+ </th>
</thead>
<tbody>
{{#applications}}
@@ -73,6 +77,7 @@
<td><span title="{{duration}}" class="durationClass">{{duration}}</span></td>
<td>{{sparkUser}}</td>
<td>{{lastUpdated}}</td>
+ <td><a href="/api/v1/applications/{{id}}/{{num}}/logs" class="btn btn-info btn-mini">Download</a></td>
{{/attempts}}
</tr>
{{/applications}}
diff --git a/core/src/main/resources/org/apache/spark/ui/static/historypage.js b/core/src/main/resources/org/apache/spark/ui/static/historypage.js
index c8094005c6..2a32e18672 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/historypage.js
+++ b/core/src/main/resources/org/apache/spark/ui/static/historypage.js
@@ -133,6 +133,7 @@ $(document).ready(function() {
{name: 'sixth', type: "title-numeric"},
{name: 'seventh'},
{name: 'eighth'},
+ {name: 'ninth'},
],
"autoWidth": false,
"order": [[ 4, "desc" ]]