Skip to content

Commit

Permalink
Removed unused getUserJars method from Utils.scala.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak committed Aug 14, 2020
1 parent 5d65caf commit e57d053
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2598,15 +2598,6 @@ private[spark] object Utils extends Logging {
conf.get(JARS).filter(_.nonEmpty)
}

/**
* Return the files pointed by the "spark.files" property. Spark internally will distribute
* these files through file server. In the YARN mode, it will return an empty list, since YARN
* has its own mechanism to distribute files.
*/
def getUserFiles(conf: SparkConf): Seq[String] = {
conf.get(FILES).filter(_.nonEmpty)
}

/**
* Return the local jar files which will be added to REPL's classpath. These jar files are
* specified by --jars (spark.jars) or --packages, remote jars will be downloaded to local by
Expand Down

0 comments on commit e57d053

Please sign in to comment.