diff options
author | Liang-Chi Hsieh <viirya@gmail.com> | 2013-07-19 22:25:28 +0800 |
---|---|---|
committer | Liang-Chi Hsieh <viirya@gmail.com> | 2013-07-19 22:25:28 +0800 |
commit | aa6f83289b87f38481dbae60ad91d2ac78ccea46 (patch) | |
tree | a68392755a5e09c89983dfcafe4e0e11448e313f /core/src/hadoop1/scala | |
parent | a613628c5078cf41feb973d0ee8a06eb69615bcf (diff) | |
download | spark-aa6f83289b87f38481dbae60ad91d2ac78ccea46.tar.gz spark-aa6f83289b87f38481dbae60ad91d2ac78ccea46.tar.bz2 spark-aa6f83289b87f38481dbae60ad91d2ac78ccea46.zip |
A better fix for giving local jars unde Yarn mode.
Diffstat (limited to 'core/src/hadoop1/scala')
-rw-r--r-- | core/src/hadoop1/scala/spark/deploy/SparkHadoopUtil.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/hadoop1/scala/spark/deploy/SparkHadoopUtil.scala b/core/src/hadoop1/scala/spark/deploy/SparkHadoopUtil.scala index df55be1254..9f040faac3 100644 --- a/core/src/hadoop1/scala/spark/deploy/SparkHadoopUtil.scala +++ b/core/src/hadoop1/scala/spark/deploy/SparkHadoopUtil.scala @@ -41,4 +41,7 @@ object SparkHadoopUtil { // add any user credentials to the job conf which are necessary for running on a secure Hadoop cluster def addCredentials(conf: JobConf) {} + + def isYarnMode(): Boolean = { False } + } |