Updated Branches:
  refs/heads/master b5346064d -> 4e46fde81

Make TaskContext's stageId publicly accessible.


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

Branch: refs/heads/master
Commit: 5b8083fee5dec145f61684070a1977c9beb98cb2
Parents: 3249e0e
Author: Harvey Feng <har...@databricks.com>
Authored: Tue Oct 15 18:05:34 2013 -0700
Committer: Harvey Feng <har...@databricks.com>
Committed: Tue Oct 15 18:06:37 2013 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/TaskContext.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/5b8083fe/core/src/main/scala/org/apache/spark/TaskContext.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/TaskContext.scala 
b/core/src/main/scala/org/apache/spark/TaskContext.scala
index 51584d6..cae983e 100644
--- a/core/src/main/scala/org/apache/spark/TaskContext.scala
+++ b/core/src/main/scala/org/apache/spark/TaskContext.scala
@@ -22,7 +22,7 @@ import scala.collection.mutable.ArrayBuffer
 import org.apache.spark.executor.TaskMetrics
 
 class TaskContext(
-  private[spark] val stageId: Int,
+  val stageId: Int,
   val partitionId: Int,
   val attemptId: Long,
   val runningLocally: Boolean = false,

Reply via email to