90064d0139
The benchmark for job execution added. Change-Id: Iac251de92413f0f1fe1c872b5183c91e40eb1232
51 lines
1.8 KiB
JSON
51 lines
1.8 KiB
JSON
{
|
|
"SaharaJob.create_launch_job": [
|
|
{
|
|
"args": {
|
|
"job_type": "Pig",
|
|
"configs": {}
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 4,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 1,
|
|
"users_per_tenant": 1
|
|
},
|
|
"sahara_image": {
|
|
"image_url": "http://sahara-files.mirantis.com/sahara-icehouse-vanilla-1.2.1-ubuntu-13.10.qcow2",
|
|
"username": "ubuntu",
|
|
"plugin_name": "vanilla",
|
|
"hadoop_version": "1.2.1"
|
|
},
|
|
"sahara_edp": {
|
|
"input_type": "hdfs",
|
|
"output_type": "hdfs",
|
|
"input_url": "/",
|
|
"output_url_prefix": "/out_",
|
|
"mains": [
|
|
{
|
|
"name": "example.pig",
|
|
"download_url": "https://raw.githubusercontent.com/openstack/sahara/master/etc/edp-examples/pig-job/example.pig"
|
|
}
|
|
],
|
|
"libs": [
|
|
{
|
|
"name": "udf.jar",
|
|
"download_url": "https://github.com/openstack/sahara/blob/master/etc/edp-examples/pig-job/udf.jar?raw=true"
|
|
}
|
|
]
|
|
},
|
|
"sahara_cluster": {
|
|
"flavor_id": "2",
|
|
"node_count": 2,
|
|
"plugin_name": "vanilla",
|
|
"hadoop_version": "1.2.1"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |