deb-sahara/etc/scenario/sahara-ci/transient.yaml.mako
Luigi Toscano ad45ef623b Scenario templates: make is_proxy_gateway configurable
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
2015-12-11 15:34:12 +01:00

55 lines
1.5 KiB
Mako

<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: vanilla
plugin_version: 2.7.1
image: ${vanilla_two_seven_one_image}
node_group_templates:
- name: worker
flavor: ${ci_flavor_id}
node_processes:
- datanode
- nodemanager
volumes_per_node: 2
volumes_size: 2
auto_security_group: true
node_configs:
&ng_configs
MapReduce:
yarn.app.mapreduce.am.resource.mb: 256
yarn.app.mapreduce.am.command-opts: -Xmx256m
YARN:
yarn.scheduler.minimum-allocation-mb: 256
yarn.scheduler.maximum-allocation-mb: 1024
yarn.nodemanager.vmem-check-enabled: false
- name: master
flavor: ${ci_flavor_id}
node_processes:
- oozie
- historyserver
- resourcemanager
- namenode
auto_security_group: true
is_proxy_gateway: ${is_proxy_gateway}
cluster_template:
name: transient
node_group_templates:
master: 1
worker: 3
cluster_configs:
HDFS:
dfs.replication: 1
MapReduce:
mapreduce.tasktracker.map.tasks.maximum: 16
mapreduce.tasktracker.reduce.tasks.maximum: 16
YARN:
yarn.resourcemanager.scheduler.class: org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
cluster:
name: ${cluster_name}
is_transient: true
scenario:
- run_jobs
- transient
edp_jobs_flow: pig_job