Skip to content

Instantly share code, notes, and snippets.

@benzenwen
Last active December 22, 2015 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benzenwen/6472169 to your computer and use it in GitHub Desktop.
Save benzenwen/6472169 to your computer and use it in GitHub Desktop.
An example aggregation on the public Kartlytics corpus. See http://kartlytics.com for details. Originally from https://github.com/davepacheco/kartlytics
{
"phases": [
{
"type": "map",
"assets": ["/manta/public/kartlytics/bin/video-metadata"],
"exec": "/assets/manta/public/kartlytics/bin/video-metadata /$MANTA_USER/public $MANTA_INPUT_FILE"
},
{
"type": "reduce",
"exec": "json -g | mpipe /$MANTA_USER/public/kartlytics-summary.json"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment