Skip to content

Commit 05ba6da

Browse files
committed
Remove unused val
1 parent 40a8fef commit 05ba6da

File tree

1 file changed

+0
-3
lines changed
  • core/src/main/scala/org/apache/spark/deploy/master

1 file changed

+0
-3
lines changed

core/src/main/scala/org/apache/spark/deploy/master/Master.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ private[spark] class Master(
7272
val waitingApps = new ArrayBuffer[ApplicationInfo]
7373
val completedApps = new ArrayBuffer[ApplicationInfo]
7474
var nextAppNumber = 0
75-
7675
val appIdToUI = new HashMap[String, SparkUI]
77-
val fileSystemsUsed = new HashSet[FileSystem]
7876

7977
val drivers = new HashSet[DriverInfo]
8078
val completedDrivers = new ArrayBuffer[DriverInfo]
@@ -159,7 +157,6 @@ private[spark] class Master(
159157
recoveryCompletionTask.cancel()
160158
}
161159
webUi.stop()
162-
fileSystemsUsed.foreach(_.close())
163160
masterMetricsSystem.stop()
164161
applicationMetricsSystem.stop()
165162
persistenceEngine.close()

0 commit comments

Comments
 (0)