telefonicaid / fiware-cosmos

fiware-cosmos toolkit for administration and support. Includes Sahara plugin
GNU Affero General Public License v3.0
11 stars 15 forks source link

[cosmos-tidoop-api] Add suport for MR job input parameters #181

Closed frbattid closed 8 years ago

frbattid commented 8 years ago

Currently, the API does not suport input parameters when running MR jobs.

Input parameters must be specified in a special field in the request payload:

{
    "jar": "/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar",
    "class_name": "wordcount",
    "lib_jars": "/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar",
    "input": "mrtest",
    "output": "output4",
    "other_args": "arg1 arg2 ..."
}
frbattid commented 8 years ago

Implemented in PR https://github.com/telefonicaid/fiware-cosmos/pull/183

frbattid commented 8 years ago

Reimplemented in PR https://github.com/telefonicaid/fiware-cosmos/pull/184