[GitHub] spark pull request: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/4777 --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76510899 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28108/ Test PASSed. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76510896 [Test build #28108 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28108/consoleFull) for PR 4777 at commit [`7e16590`](https://github.com/apache/spark/commit/7e1659074451b03d6b4626aff382ec6ba2f53289). * This patch **passes all tests**. * This patch merges cleanly. * This patch adds no public classes. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76508662 [Test build #28108 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28108/consoleFull) for PR 4777 at commit [`7e16590`](https://github.com/apache/spark/commit/7e1659074451b03d6b4626aff382ec6ba2f53289). * This patch merges cleanly. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76508562 OK will make that change, and if there are no more objections, will go ahead with this change to patch up this case. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user kayousterhout commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76448316 I don't think it's worth it to return a 404, and this is more consistent with how we treat stages/jobs that don't exist. I might say "No running application with ID _" in stead of application not found, just to be a little more explicit. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76396234 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28068/ Test PASSed. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76396222 [Test build #28068 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28068/consoleFull) for PR 4777 at commit [`cb878d6`](https://github.com/apache/spark/commit/cb878d6a3d576b54b3b8373596d5b91dd1a4b4dc). * This patch **passes all tests**. * This patch merges cleanly. * This patch adds no public classes. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76387284 [Test build #28068 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28068/consoleFull) for PR 4777 at commit [`cb878d6`](https://github.com/apache/spark/commit/cb878d6a3d576b54b3b8373596d5b91dd1a4b4dc). * This patch merges cleanly. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76387038 Jenkins, retest this please --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76386919 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28066/ Test FAILed. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76386914 [Test build #28066 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28066/consoleFull) for PR 4777 at commit [`cb878d6`](https://github.com/apache/spark/commit/cb878d6a3d576b54b3b8373596d5b91dd1a4b4dc). * This patch **fails Spark unit tests**. * This patch merges cleanly. * This patch adds no public classes. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76380902 [Test build #28066 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28066/consoleFull) for PR 4777 at commit [`cb878d6`](https://github.com/apache/spark/commit/cb878d6a3d576b54b3b8373596d5b91dd1a4b4dc). * This patch merges cleanly. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/4777#discussion_r25500809 --- Diff: core/src/main/scala/org/apache/spark/deploy/master/ui/ApplicationPage.scala --- @@ -55,6 +60,9 @@ private[spark] class ApplicationPage(parent: MasterWebUI) extends WebUIPage("app val app = state.activeApps.find(_.id == appId).getOrElse({ state.completedApps.find(_.id == appId).getOrElse(null) }) +if (app == null) { + return Seq[Node]() --- End diff -- Yeah that makes sense. I emulated the message in `HistoryServer`. Really this should result in an HTTP 404, but this simplified API doesn't give access to the `HttpServletResponse`. It wouldn't be a lot of work to pass this around all through the API. Worth it here, you guys think? --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/4777#discussion_r25485191 --- Diff: core/src/main/scala/org/apache/spark/deploy/master/ui/ApplicationPage.scala --- @@ -55,6 +60,9 @@ private[spark] class ApplicationPage(parent: MasterWebUI) extends WebUIPage("app val app = state.activeApps.find(_.id == appId).getOrElse({ state.completedApps.find(_.id == appId).getOrElse(null) }) +if (app == null) { + return Seq[Node]() --- End diff -- should this return some page with an error message? ``` val content = // some HTML UIUtils.basicSparkPage(content, "Application not found") ``` --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76111850 [Test build #27970 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27970/consoleFull) for PR 4777 at commit [`d8270da`](https://github.com/apache/spark/commit/d8270da5f6dfea8418ad72301628f846c3c8280a). * This patch **passes all tests**. * This patch merges cleanly. * This patch adds no public classes. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76111856 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27970/ Test PASSed. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4777#issuecomment-76104492 [Test build #27970 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27970/consoleFull) for PR 4777 at commit [`d8270da`](https://github.com/apache/spark/commit/d8270da5f6dfea8418ad72301628f846c3c8280a). * This patch merges cleanly. --- 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: SPARK-1965 [WEBUI] Spark UI throws NPE on tryi...
GitHub user srowen opened a pull request: https://github.com/apache/spark/pull/4777 SPARK-1965 [WEBUI] Spark UI throws NPE on trying to load the app page for non-existent app Don't throw NPE if appId is unknown. @kayousterhout is this a decent enough band-aid for avoiding a full-blown NPE? it should just render empty content instead You can merge this pull request into a Git repository by running: $ git pull https://github.com/srowen/spark SPARK-1965 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/4777.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 #4777 commit d8270da5f6dfea8418ad72301628f846c3c8280a Author: Sean Owen Date: 2015-02-26T01:15:48Z Don't throw NPE if appId is unknown --- 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