Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B629F17678 for ; Tue, 14 Oct 2014 20:25:16 +0000 (UTC) Received: (qmail 47692 invoked by uid 500); 14 Oct 2014 20:25:16 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 47669 invoked by uid 500); 14 Oct 2014 20:25:16 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 47652 invoked by uid 99); 14 Oct 2014 20:25:16 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 20:25:16 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D66B88224E4; Tue, 14 Oct 2014 20:25:15 +0000 (UTC) From: vanzin To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request: [SPARK-2321] [WIP] Stable pull-based progress ... Content-Type: text/plain Message-Id: <20141014202515.D66B88224E4@tyr.zones.apache.org> Date: Tue, 14 Oct 2014 20:25:15 +0000 (UTC) Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/2696#discussion_r18855753 --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala --- @@ -853,6 +873,12 @@ class SparkContext(config: SparkConf) extends Logging { /** The version of Spark on which this application is running. */ def version = SPARK_VERSION + def getJobsIdsForGroup(jobGroup: String): Array[Int] = statusApi.jobIdsForGroup(jobGroup) --- End diff -- Probably a good idea to add scaladoc to all these new public methods. In this case in particular, should probably mention that the returned list is a view of the current state, and subsequent invocations may return a different list. --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org