This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1308712 - Add Spark job detail view
This also fixes a few bugs in the spark job startup code and in the cluster-detail template.
- Loading branch information
1 parent
798a8bf
commit 6333729
Showing
7 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{% extends "atmo/base.html" %} | ||
|
||
{% block head_title %}Spark job {{ job.identifier }}{% endblock %} | ||
|
||
{% block content %} | ||
<h1>Spark Job {{ job.identifier }}</h1> | ||
<p class="lead">Summary:</p> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Notebook S3 key:</strong></div> | ||
<div class="col-md-10">{{ job.notebook_s3_key }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Result visibility:</strong></div> | ||
<div class="col-md-10">{{ job.result_visibility }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Size:</strong></div> | ||
<div class="col-md-10">{{ job.size }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Interval in hours:</strong></div> | ||
<div class="col-md-10">{{ job.interval_in_hours }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Timeout:</strong></div> | ||
<div class="col-md-10">{{ job.job_timeout }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Start date:</strong></div> | ||
<div class="col-md-10">{{ job.start_date|date:"SHORT_DATETIME_FORMAT" }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>End date:</strong></div> | ||
<div class="col-md-10">{{ job.end_date|date:"SHORT_DATETIME_FORMAT" }}</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Is enabled:</strong></div> | ||
<div class="col-md-10"> | ||
{% if job.is_enabled %} | ||
<span class="glyphicon glyphicon-ok text-success" aria-hidden="true"></span> | ||
{% else %} | ||
<span class="glyphicon glyphicon-remove text-danger" aria-hidden="true"></span> | ||
{% endif %} | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2"><strong>Last run date:</strong></div> | ||
<div class="col-md-10">{{ job.last_run_date|timesince }}</div> | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters