78bcbf6a2c
Sahara deprecated vanilla 2.4.1 plugin and dropped building images for that plugin in the Kilo release, so we can remove that from the sahara codebase. Implements blueprint: drop-vanilla-2-4-1 Change-Id: I89cbeee3722f3a6a91f759c6d5d71b0d7a8403da
97 lines
2.9 KiB
YAML
97 lines
2.9 KiB
YAML
concurrency: 1
|
|
|
|
credentials:
|
|
os_username: admin
|
|
os_password: nova
|
|
os_tenant: admin
|
|
os_auth_url: http://127.0.0.1:5000/v2.0
|
|
|
|
network:
|
|
private_network: private
|
|
public_network: public
|
|
|
|
clusters:
|
|
- plugin_name: vanilla
|
|
plugin_version: 2.6.0
|
|
image: sahara-vanilla-2.6.0-ubuntu-14.04
|
|
node_group_templates:
|
|
- name: master
|
|
node_processes:
|
|
- namenode
|
|
- resourcemanager
|
|
- hiveserver
|
|
- oozie
|
|
- historyserver
|
|
- secondarynamenode
|
|
flavor: '2'
|
|
- name: worker
|
|
node_processes:
|
|
- datanode
|
|
- nodemanager
|
|
flavor: '2'
|
|
cluster_template:
|
|
name: vanilla
|
|
node_group_templates:
|
|
master: 1
|
|
worker: 3
|
|
scenario:
|
|
- run_jobs
|
|
- scale
|
|
- run_jobs
|
|
edp_jobs_flow: test_flow
|
|
retain_resources: true
|
|
|
|
edp_jobs_flow:
|
|
test_flow:
|
|
- type: Pig
|
|
input_datasource:
|
|
type: swift
|
|
source: etc/edp-examples/edp-pig/top-todoers/data/input
|
|
output_datasource:
|
|
type: hdfs
|
|
destination: /user/hadoop/edp-output
|
|
main_lib:
|
|
type: swift
|
|
source: etc/edp-examples/edp-pig/top-todoers/example.pig
|
|
- type: Java
|
|
additional_libs:
|
|
- type: database
|
|
source: etc/edp-examples/hadoop2/edp-java/hadoop-mapreduce-examples-2.6.0.jar
|
|
configs:
|
|
edp.java.main_class: org.apache.hadoop.examples.QuasiMonteCarlo
|
|
args:
|
|
- 10
|
|
- 10
|
|
- type: MapReduce
|
|
configs:
|
|
mapred.mapper.class: org.apache.oozie.example.SampleMapper
|
|
mapred.reducer.class: org.apache.oozie.example.SampleReducer
|
|
additional_libs:
|
|
- type: database
|
|
source: etc/edp-examples/edp-java/edp-java.jar
|
|
input_datasource:
|
|
type: swift
|
|
source: etc/edp-examples/edp-pig/top-todoers/data/input
|
|
output_datasource:
|
|
type: hdfs
|
|
destination: /user/hadoop/edp-output
|
|
- type: MapReduce.Streaming
|
|
configs:
|
|
edp.streaming.mapper: /bin/cat
|
|
edp.streaming.reducer: /usr/bin/wc
|
|
input_datasource:
|
|
type: swift
|
|
source: etc/edp-examples/edp-pig/top-todoers/data/input
|
|
output_datasource:
|
|
type: hdfs
|
|
destination: /user/hadoop/edp-output
|
|
- type: Hive
|
|
input_datasource:
|
|
type: swift
|
|
source: etc/edp-examples/edp-hive/input.csv
|
|
output_datasource:
|
|
type: hdfs
|
|
destination: /user/hadoop/edp-hive/
|
|
main_lib:
|
|
type: swift
|
|
source: etc/edp-examples/edp-hive/script.q |