...
Info | ||
---|---|---|
Updates a hadoop map reduce job. Returns the output collection id in the data field of the response if successfully queued to run. If you change the timeToRun a job can be rescheduled.
A detailed guide to creating plugins. A simple web-based utility is available for uploading JARs and managing jobs. |
...
frequencyToRun (required)
How often the job should be ran, either: NONE, HOURLY, DAILY, WEEKLY, MONTHLY. This will cause the job to get resubmitted after running, use NONE if you only want the job to run once.
...
query (required)
The mongo or JSON query to use to get the jobs data. {} is a blank query or you can submit null. Also you can submit any post-processing you want by passing in an array of the form [{mongodb query},{postproc}|null, {fields}] where postproc is a json object following the form:
Code Block |
---|
{
"limit":int,
"sortField":"field.field.field",
"sortDirection":-1|1,
"limitAllData":true|false
} |
and "fields" is the usual MongoDB "projection" object for specifying fields returned from queries.
See See Custom - Schedule Job for more information about this query's format, or see the Hadoop Plugin Guide for more information.
...