You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/04/06 01:10:43 UTC

spark git commit: [HOTFIX] Fix `optional` to `createOptional`.

Repository: spark
Updated Branches:
  refs/heads/master d5ee9d5c2 -> 48682f6bf


[HOTFIX] Fix `optional` to `createOptional`.

## What changes were proposed in this pull request?

This PR fixes the following line.
```
   private[spark] val STAGING_DIR = ConfigBuilder("spark.yarn.stagingDir")
     .doc("Staging directory used while submitting applications.")
     .stringConf
-    .optional
+    .createOptional
```

## How was this patch tested?

Pass the build.

Author: Dongjoon Hyun <do...@apache.org>

Closes #12187 from dongjoon-hyun/hotfix.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/48682f6b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/48682f6b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/48682f6b

Branch: refs/heads/master
Commit: 48682f6bf663e54cb63b7e95a4520d34b6fa890b
Parents: d5ee9d5
Author: Dongjoon Hyun <do...@apache.org>
Authored: Tue Apr 5 18:10:40 2016 -0500
Committer: Reynold Xin <rx...@databricks.com>
Committed: Tue Apr 5 18:10:40 2016 -0500

----------------------------------------------------------------------
 yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/48682f6b/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
----------------------------------------------------------------------
diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
index 8d576be..edfbfc5 100644
--- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
+++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
@@ -111,7 +111,7 @@ package object config {
   private[spark] val STAGING_DIR = ConfigBuilder("spark.yarn.stagingDir")
     .doc("Staging directory used while submitting applications.")
     .stringConf
-    .optional
+    .createOptional
 
   /* Cluster-mode launcher configuration. */
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org