Skip to content

Commit 53620c9

Browse files
author
Marcelo Vanzin
committed
Add mima exclude, fix scaladoc wording.
1 parent c21f8d8 commit 53620c9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,14 @@ private[spark] case class ApplicationHistoryInfo(
3030
private[spark] abstract class ApplicationHistoryProvider {
3131

3232
/**
33-
* This method should return a list of applications available for the history server to
34-
* show.
33+
* Returns a list of applications available for the history server to show.
3534
*
3635
* @return List of all know applications.
3736
*/
3837
def getListing(): Seq[ApplicationHistoryInfo]
3938

4039
/**
41-
* This method should return the application UI.
40+
* Returns the Spark UI for a specific application.
4241
*
4342
* @param appId The application ID.
4443
* @return The application's UI, or null if application is not found.
@@ -51,7 +50,7 @@ private[spark] abstract class ApplicationHistoryProvider {
5150
def stop(): Unit = { }
5251

5352
/**
54-
* Returns configuration data to be shown in the HS home page.
53+
* Returns configuration data to be shown in the History Server home page.
5554
*
5655
* @return A map with the configuration data. Data is show in the order returned by the map.
5756
*/

project/MimaExcludes.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ object MimaExcludes {
3434
val excludes =
3535
SparkBuild.SPARK_VERSION match {
3636
case v if v.startsWith("1.1") =>
37-
Seq(MimaBuild.excludeSparkPackage("graphx")) ++
37+
Seq(
38+
MimaBuild.excludeSparkPackage("deploy"),
39+
MimaBuild.excludeSparkPackage("graphx")
40+
) ++
3841
Seq(
3942
// We made a mistake earlier (ed06500d3) in the Java API to use default parameter values
4043
// for countApproxDistinct* functions, which does not work in Java. We later removed

0 commit comments

Comments
 (0)