Skip to content

Commit c92c5bf

Browse files
committed
Minor cleanups
1 parent 269f9f3 commit c92c5bf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ class SparkContext(config: SparkConf) extends Logging {
917917
if (SparkHadoopUtil.get.isYarnMode() &&
918918
(master == "yarn-standalone" || master == "yarn-cluster")) {
919919
// In order for this to work in yarn-cluster mode the user must specify the
920-
// --addjars option to the client to upload the file into the distributed cache
920+
// --addJars option to the client to upload the file into the distributed cache
921921
// of the AM to make it show up in the current working directory.
922922
val fileName = new Path(uri.getPath).getName()
923923
try {

yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ package org.apache.spark.deploy.yarn
2020
import scala.collection.mutable.{ArrayBuffer, HashMap}
2121

2222
import org.apache.spark.SparkConf
23-
import org.apache.spark.scheduler.{InputFormatInfo, SplitInfo}
23+
import org.apache.spark.scheduler.InputFormatInfo
2424
import org.apache.spark.util.IntParam
2525
import org.apache.spark.util.MemoryParam
2626

@@ -40,9 +40,7 @@ class ClientArguments(val args: Array[String], val sparkConf: SparkConf) {
4040
var amMemory: Int = 512 // MB
4141
var amClass: String = "org.apache.spark.deploy.yarn.ApplicationMaster"
4242
var appName: String = "Spark"
43-
// TODO
4443
var inputFormatInfo: List[InputFormatInfo] = null
45-
// TODO(harvey)
4644
var priority = 0
4745

4846
parseArgs(args.toList)

0 commit comments

Comments
 (0)