Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

query (required)
The mongo 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 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 the Hadoop Plugin Guide for more information.

inputcollection (required)
The mongo collection you want to use as input. You can submit DOC_METADATA to get the documents table the documents metadata, DOC_CONTENT to get the document contents, or grab a previous map reduce jobs results table in your communities by submitting its id or title (must be a member of that community).

outputKey (required)
The classpath for the map reduce output format key usually org.apache.hadoop.io.Text

...