Skip to content

Commit

Permalink
Minor updates to Javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Aug 19, 2014
1 parent 7f36999 commit 1dec709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ private[spark] object Utils extends Logging {
}

/**
* Get the path of temporary directory. Spark's local directories can be configured through
* Get the path of a temporary directory. Spark's local directories can be configured through
* multiple settings, which are used with the following precedence:
*
* - If called from inside of a YARN container, this will return a directory chosen by YARN.
Expand All @@ -471,6 +471,8 @@ private[spark] object Utils extends Logging {
/**
* Gets or creates the directories listed in spark.local.dir or SPARK_LOCAL_DIRS,
* and returns only the directories that exist / could be created.
*
* If no directories could be created, this will return an empty list.
*/
private[spark] def getOrCreateLocalRootDirs(conf: SparkConf): Array[String] = {
val confValue = if (isRunningInYarnContainer(conf)) {
Expand Down

0 comments on commit 1dec709

Please sign in to comment.