You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2017/11/09 10:46:06 UTC
spark git commit: [DOC] update the API doc and modify the stage API
description
Repository: spark
Updated Branches:
refs/heads/master c755b0d91 -> fe93c0bf6
[DOC] update the API doc and modify the stage API description
## What changes were proposed in this pull request?
**1.stage api modify the description format**
<td>A list of all stages for a given application.</td>
<br><code>?status=[active|complete|pending|failed]</code> list only stages in the state.
content should be included in <td> </ td>
fix before:
![1](https://user-images.githubusercontent.com/26266482/31753100-201f3432-b4c1-11e7-9e8d-54b62b96c17f.png)
fix after:
![2](https://user-images.githubusercontent.com/26266482/31753102-23b174de-b4c1-11e7-96ad-fd79d10440b9.png)
**2.add version api doc '/api/v1/version' in monitoring.md**
fix after:
![3](https://user-images.githubusercontent.com/26266482/31753087-0fd3a036-b4c1-11e7-802f-a6dc86a2a4b0.png)
## How was this patch tested?
manual tests
Please review http://spark.apache.org/contributing.html before opening a pull request.
Author: guoxiaolong <gu...@zte.com.cn>
Closes #19532 from guoxiaolongzte/SPARK-22311.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/fe93c0bf
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/fe93c0bf
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/fe93c0bf
Branch: refs/heads/master
Commit: fe93c0bf6115a62486ebf9f494da5dc368c24418
Parents: c755b0d
Author: guoxiaolong <gu...@zte.com.cn>
Authored: Thu Nov 9 11:46:01 2017 +0100
Committer: Wenchen Fan <we...@databricks.com>
Committed: Thu Nov 9 11:46:01 2017 +0100
----------------------------------------------------------------------
docs/monitoring.md | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/fe93c0bf/docs/monitoring.md
----------------------------------------------------------------------
diff --git a/docs/monitoring.md b/docs/monitoring.md
index 1ae4318..f8d3ce9 100644
--- a/docs/monitoring.md
+++ b/docs/monitoring.md
@@ -311,8 +311,10 @@ can be identified by their `[attempt-id]`. In the API listed below, when running
</tr>
<tr>
<td><code>/applications/[app-id]/stages</code></td>
- <td>A list of all stages for a given application.</td>
- <br><code>?status=[active|complete|pending|failed]</code> list only stages in the state.
+ <td>
+ A list of all stages for a given application.
+ <br><code>?status=[active|complete|pending|failed]</code> list only stages in the state.
+ </td>
</tr>
<tr>
<td><code>/applications/[app-id]/stages/[stage-id]</code></td>
@@ -398,7 +400,11 @@ can be identified by their `[attempt-id]`. In the API listed below, when running
<tr>
<td><code>/applications/[app-id]/environment</code></td>
<td>Environment details of the given application.</td>
- </tr>
+ </tr>
+ <tr>
+ <td><code>/version</code></td>
+ <td>Get the current spark version.</td>
+ </tr>
</table>
The number of jobs and stages which can retrieved is constrained by the same retention
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org