ad45ef623b
is_proxy_gateway is part of the environmental settings, so it should be possible to override it from the scenario file. Nevertheless, keep the default value as the current one, so that the existing jobs work without changes. Change-Id: I4cc20154c9ee0b126a1ea21ee72090f76cf6b6e1
38 lines
856 B
Mako
38 lines
856 B
Mako
<%page args="is_proxy_gateway='true'"/>
|
|
|
|
clusters:
|
|
- plugin_name: spark
|
|
plugin_version: 1.3.1
|
|
image: ${spark_1_3_image}
|
|
node_group_templates:
|
|
- name: master
|
|
flavor: ${ci_flavor_id}
|
|
node_processes:
|
|
- master
|
|
- namenode
|
|
auto_security_group: true
|
|
is_proxy_gateway: ${is_proxy_gateway}
|
|
- name: worker
|
|
flavor: ${ci_flavor_id}
|
|
node_processes:
|
|
- datanode
|
|
- slave
|
|
auto_security_group: true
|
|
cluster_template:
|
|
name: spark131
|
|
node_group_templates:
|
|
master: 1
|
|
worker: 1
|
|
cluster_configs:
|
|
HDFS:
|
|
dfs.replication: 1
|
|
cluster:
|
|
name: ${cluster_name}
|
|
scaling:
|
|
- operation: add
|
|
node_group: worker
|
|
size: 1
|
|
edp_jobs_flow:
|
|
- spark_pi
|
|
- spark_wordcount
|
|
|