Merge "Added json REST samples for edp"

This commit is contained in:
Jenkins 2013-11-15 08:52:22 +00:00 committed by Gerrit Code Review
commit b2c393f752
4 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{
"description": "This is input",
"url": "swift://container.savanna/text",
"credentials": {
"password": "swordfish",
"user": "admin"
},
"type": "swift",
"name": "text"
}

View File

@ -0,0 +1,9 @@
{
"url": "swift-internal://container/jar-example.jar",
"name": "jar-example.jar",
"description": "This is job binary",
"extra": {
"password": "swordfish",
"user": "admin"
}
}

View File

@ -0,0 +1,7 @@
{
"description": "This is pig job example",
"mains": ["84248975-3c82-4206-a58d-6e7fb3a563fd"],
"libs": ["508fc62d-1d58-4412-b603-bdab307bb926"],
"type": "Pig",
"name": "pig-job-example"
}

View File

@ -0,0 +1,19 @@
{
"cluster_id": "776e441b-5816-4d47-9e07-7ded58f9a5f6",
"input_id": "af7dc864-6331-4c30-80f5-63d74b667eaf",
"output_id": "b63780f3-13d7-4286-b731-88270fb204de",
"job_configs": {
"configs": {
"mapred.map.tasks": "1",
"mapred.reduce.tasks": "1"
},
"args": {
"arg1": "val1",
"arg2": "val2"
},
"params": {
"param2": "value2",
"param1": "value1"
}
}
}