Added jobhistory address config to vanilla 2
Change-Id: Ia04c2e4901cb03bac3487960092fd603c4c32e12 Closes-Bug: #1328675
This commit is contained in:
parent
869591aa5a
commit
78cc4f5665
|
@ -94,6 +94,10 @@ def _get_hadoop_configs(node_group):
|
|||
confs['MapReduce'] = {
|
||||
'mapreduce.framework.name': 'yarn'
|
||||
}
|
||||
hs_hostname = vu.get_instance_hostname(vu.get_historyserver(cluster))
|
||||
if hs_hostname:
|
||||
confs['MapReduce']['mapreduce.jobhistory.address'] = (
|
||||
"%s:10020" % hs_hostname)
|
||||
|
||||
oozie = vu.get_oozie(cluster)
|
||||
if oozie:
|
||||
|
|
Loading…
Reference in New Issue