Skip to content

Commit b4a7863

Browse files
committed
fix compile error
1 parent 2c8b7ee commit b4a7863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private[v1] object AllStagesResource {
153153
def getMetric[T](data: Seq[T], f: T => Double): IndexedSeq[Double] =
154154
Distribution(data.map{d=> f(d)}).get.getQuantiles(quantiles)
155155

156-
private abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
156+
abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
157157
val data: Seq[I] = rawMetrics.flatMap{x => f(x)}
158158
def build: O
159159
def m(f: I => Double): IndexedSeq[Double] = getMetric(data, f)

0 commit comments

Comments
 (0)