You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2017/04/04 08:56:21 UTC

spark git commit: [SPARK-20190][APP-ID] applications//jobs' in rest api,status should be [running|s…

Repository: spark
Updated Branches:
  refs/heads/master b34f7665d -> c95fbea68


[SPARK-20190][APP-ID] applications//jobs' in rest api,status should be [running|s\u2026

\u2026ucceeded|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 \uff1a
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 <gu...@zte.com.cn>

Closes #17507 from guoxiaolongzte/SPARK-20190.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c95fbea6
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c95fbea6
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c95fbea6

Branch: refs/heads/master
Commit: c95fbea68e9dfb2c96a1d13dde17d80a37066ae6
Parents: b34f766
Author: guoxiaolongzte <gu...@zte.com.cn>
Authored: Tue Apr 4 09:56:17 2017 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Tue Apr 4 09:56:17 2017 +0100

----------------------------------------------------------------------
 docs/monitoring.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c95fbea6/docs/monitoring.md
----------------------------------------------------------------------
diff --git a/docs/monitoring.md b/docs/monitoring.md
index 6cbc666..4d0617d 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>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org