aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorguoxiaolongzte <guo.xiaolong1@zte.com.cn>2017-04-04 09:56:17 +0100
committerSean Owen <sowen@cloudera.com>2017-04-04 09:56:17 +0100
commitc95fbea68e9dfb2c96a1d13dde17d80a37066ae6 (patch)
treea5efe13eebc23a8bc2bcc52a42248617949a3d79 /docs
parentb34f7665ddb0a40044b4c2bc7d351599c125cb13 (diff)
downloadspark-c95fbea68e9dfb2c96a1d13dde17d80a37066ae6.tar.gz
spark-c95fbea68e9dfb2c96a1d13dde17d80a37066ae6.tar.bz2
spark-c95fbea68e9dfb2c96a1d13dde17d80a37066ae6.zip
[SPARK-20190][APP-ID] applications//jobs' in rest api,status should be [running|s…
…ucceeded|failed|unknown] ## What changes were proposed in this pull request? '/applications/[app-id]/jobs' in rest api.status should be'[running|succeeded|failed|unknown]'. now status is '[complete|succeeded|failed]'. but '/applications/[app-id]/jobs?status=complete' the server return 'HTTP ERROR 404'. Added '?status=running' and '?status=unknown'. code : public enum JobExecutionStatus { RUNNING, SUCCEEDED, FAILED, UNKNOWN; ## How was this patch tested? manual tests Please review http://spark.apache.org/contributing.html before opening a pull request. Author: guoxiaolongzte <guo.xiaolong1@zte.com.cn> Closes #17507 from guoxiaolongzte/SPARK-20190.
Diffstat (limited to 'docs')
-rw-r--r--docs/monitoring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/monitoring.md b/docs/monitoring.md
index 6cbc6660e8..4d0617d253 100644
--- a/docs/monitoring.md
+++ b/docs/monitoring.md
@@ -289,7 +289,7 @@ can be identified by their `[attempt-id]`. In the API listed below, when running
<td><code>/applications/[app-id]/jobs</code></td>
<td>
A list of all jobs for a given application.
- <br><code>?status=[complete|succeeded|failed]</code> list only jobs in the specific state.
+ <br><code>?status=[running|succeeded|failed|unknown]</code> list only jobs in the specific state.
</td>
</tr>
<tr>