diff options
author | WangTaoTheTonic <barneystinson@aliyun.com> | 2014-12-04 11:52:47 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-12-04 12:01:15 -0800 |
commit | d9aee07fe1f5381e5c0ceae5a3e7d96d945f4288 (patch) | |
tree | 1cdf94344a674f1b7a6754b98affd652b3422597 /sql/hive/pom.xml | |
parent | 078894c7f25e139a91da4fac5b4875b738c67443 (diff) | |
download | spark-d9aee07fe1f5381e5c0ceae5a3e7d96d945f4288.tar.gz spark-d9aee07fe1f5381e5c0ceae5a3e7d96d945f4288.tar.bz2 spark-d9aee07fe1f5381e5c0ceae5a3e7d96d945f4288.zip |
[SPARK-4253] Ignore spark.driver.host in yarn-cluster and standalone-cluster modes
In yarn-cluster and standalone-cluster modes, we don't know where driver will run until it is launched. If the `spark.driver.host` property is set on the submitting machine and propagated to the driver through SparkConf then this will lead to errors when the driver launches.
This patch fixes this issue by dropping the `spark.driver.host` property in SparkSubmit when running in a cluster deploy mode.
Author: WangTaoTheTonic <barneystinson@aliyun.com>
Author: WangTao <barneystinson@aliyun.com>
Closes #3112 from WangTaoTheTonic/SPARK4253 and squashes the following commits:
ed1a25c [WangTaoTheTonic] revert unrelated formatting issue
02c4e49 [WangTao] add comment
32a3f3f [WangTaoTheTonic] ingore it in SparkSubmit instead of SparkContext
667cf24 [WangTaoTheTonic] document fix
ff8d5f7 [WangTaoTheTonic] also ignore it in standalone cluster mode
2286e6b [WangTao] ignore spark.driver.host in yarn-cluster mode
(cherry picked from commit 8106b1e36b2c2b9f5dc5d7252540e48cc3fc96d5)
Signed-off-by: Josh Rosen <joshrosen@databricks.com>
Diffstat (limited to 'sql/hive/pom.xml')
0 files changed, 0 insertions, 0 deletions