aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorCheolsoo Park <cheolsoop@netflix.com>2015-04-13 13:45:10 -0500
committerThomas Graves <tgraves@apache.org>2015-04-13 13:45:10 -0500
commit6cc5b3ed3c0c729f97956fa017d8eb7d6b43f90f (patch)
tree0c1c1fb8b27573a8edfe3c2afe4a111948bd88dc /network
parentc5b0b296b842926b5c07531a5affe8984bc799c5 (diff)
downloadspark-6cc5b3ed3c0c729f97956fa017d8eb7d6b43f90f.tar.gz
spark-6cc5b3ed3c0c729f97956fa017d8eb7d6b43f90f.tar.bz2
spark-6cc5b3ed3c0c729f97956fa017d8eb7d6b43f90f.zip
[SPARK-6662][YARN] Allow variable substitution in spark.yarn.historyServer.address
In Spark on YARN, explicit hostname and port number need to be set for "spark.yarn.historyServer.address" in SparkConf to make the HISTORY link. If the history server address is known and static, this is usually not a problem. But in cloud, that is usually not true. Particularly in EMR, the history server always runs on the same node as with RM. So I could simply set it to ${yarn.resourcemanager.hostname}:18080 if variable substitution is allowed. In fact, Hadoop configuration already implements variable substitution, so if this property is read via YarnConf, this can be easily achievable. Author: Cheolsoo Park <cheolsoop@netflix.com> Closes #5321 from piaozhexiu/SPARK-6662 and squashes the following commits: e37de75 [Cheolsoo Park] Preserve the space between the Hadoop and Spark imports 79757c6 [Cheolsoo Park] Incorporate review comments 10e2917 [Cheolsoo Park] Add helper function that substitutes hadoop vars to SparkHadoopUtil 589b52c [Cheolsoo Park] Revert "Allow variable substitution for spark.yarn. properties" ff9c35d [Cheolsoo Park] Allow variable substitution for spark.yarn. properties
Diffstat (limited to 'network')
0 files changed, 0 insertions, 0 deletions