[GitHub] spark pull request #14163: [SPARK-15923][YARN] Spark Application rest api re...

2016-07-20 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/spark/pull/14163


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #14163: [SPARK-15923][YARN] Spark Application rest api re...

2016-07-19 Thread Sherry302
Github user Sherry302 commented on a diff in the pull request:

https://github.com/apache/spark/pull/14163#discussion_r71425048
  
--- Diff: docs/monitoring.md ---
@@ -224,10 +224,12 @@ both running applications, and in the history server. 
 The endpoints are mounted
 for the history server, they would typically be accessible at 
`http://:18080/api/v1`, and
 for a running application, at `http://localhost:4040/api/v1`.
 
-In the API, an application is referenced by its application ID, `[app-id]`.
-When running on YARN, each application may have multiple attempts; each 
identified by their `[attempt-id]`.
-In the API listed below, `[app-id]` will actually be 
`[base-app-id]/[attempt-id]`,
-where `[base-app-id]` is the YARN application ID.
+In the API, an application is referenced by its application ID, 
`[app-id]`.
+Spark on YARN supports multiple application attempts in cluster mode but 
not in client mode.
--- End diff --

Thanks for the feedback. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #14163: [SPARK-15923][YARN] Spark Application rest api re...

2016-07-12 Thread jerryshao
Github user jerryshao commented on a diff in the pull request:

https://github.com/apache/spark/pull/14163#discussion_r70553491
  
--- Diff: docs/monitoring.md ---
@@ -224,10 +224,12 @@ both running applications, and in the history server. 
 The endpoints are mounted
 for the history server, they would typically be accessible at 
`http://:18080/api/v1`, and
 for a running application, at `http://localhost:4040/api/v1`.
 
-In the API, an application is referenced by its application ID, `[app-id]`.
-When running on YARN, each application may have multiple attempts; each 
identified by their `[attempt-id]`.
-In the API listed below, `[app-id]` will actually be 
`[base-app-id]/[attempt-id]`,
-where `[base-app-id]` is the YARN application ID.
+In the API, an application is referenced by its application ID, 
`[app-id]`.
+Spark on YARN supports multiple application attempts in cluster mode but 
not in client mode.
--- End diff --

yarn client mode also supports multiple attempts, the description is not 
exact. Actually what you want to deliver is that attempId is not required for 
yarn client mode, would you please consolidate your words.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #14163: [SPARK-15923][YARN] Spark Application rest api re...

2016-07-12 Thread Sherry302
GitHub user Sherry302 opened a pull request:

https://github.com/apache/spark/pull/14163

[SPARK-15923][YARN] Spark Application rest api returns 'no such app: …

## What changes were proposed in this pull request?
Update monitoring.md.

…'

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Sherry302/spark master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/14163.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #14163


commit aa2129e1480cd863c42872c82e08cb8eef2d992b
Author: Weiqing Yang 
Date:   2016-07-12T22:13:21Z

[SPARK-15923][YARN] Spark Application rest api returns 'no such app: 
'




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org