Skip to content

Commit 46715b3

Browse files
committed
add private[spark] to toLiveRDDDistribution()
1 parent c3ca273 commit 46715b3

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/scala/org/apache/spark/status/api/v1

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/status/api/v1/api.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class RDDDataDistribution private[spark](
197197
@JsonDeserialize(contentAs = classOf[JLong])
198198
val offHeapMemoryRemaining: Option[Long]) {
199199

200-
def toLiveRDDDistribution(executors: scala.collection.Map[String, LiveExecutor])
200+
private[spark] def toLiveRDDDistribution(executors: scala.collection.Map[String, LiveExecutor])
201201
: LiveRDDDistribution = {
202202
val exec = executors.get(executorId).get
203203
val liveRDDDistribution = new LiveRDDDistribution(exec)

0 commit comments

Comments
 (0)