Skip to content

Commit c5f622c

Browse files
committed
tighten the accessibility of deploy.history
1 parent d441e20 commit c5f622c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

core/src/main/scala/org/apache/spark/deploy/history/ApplicationHistoryProvider.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package org.apache.spark.deploy.history
1919

2020
import org.apache.spark.ui.SparkUI
2121

22-
private[spark] case class ApplicationHistoryInfo(
22+
private[history] case class ApplicationHistoryInfo(
2323
id: String,
2424
name: String,
2525
startTime: Long,
@@ -28,7 +28,7 @@ private[spark] case class ApplicationHistoryInfo(
2828
sparkUser: String,
2929
completed: Boolean = false)
3030

31-
private[spark] abstract class ApplicationHistoryProvider {
31+
private[history] abstract class ApplicationHistoryProvider {
3232

3333
/**
3434
* Returns a list of applications available for the history server to show.

core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import scala.xml.Node
2323

2424
import org.apache.spark.ui.{WebUIPage, UIUtils}
2525

26-
private[spark] class HistoryPage(parent: HistoryServer) extends WebUIPage("") {
26+
private[history] class HistoryPage(parent: HistoryServer) extends WebUIPage("") {
2727

2828
private val pageSize = 20
2929
private val plusOrMinus = 2

core/src/main/scala/org/apache/spark/deploy/history/HistoryServerArguments.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ import org.apache.spark.util.Utils
2323
/**
2424
* Command-line parser for the master.
2525
*/
26-
private[spark] class HistoryServerArguments(conf: SparkConf, args: Array[String]) extends Logging {
26+
private[history] class HistoryServerArguments(conf: SparkConf, args: Array[String])
27+
extends Logging {
2728
private var propertiesFile: String = null
2829

2930
parse(args.toList)

0 commit comments

Comments
 (0)