Runs Greenplum MapReduce jobs as defined in a YAML specification document.
Note Greenplum MapReduce is deprecated and will be removed in a future Greenplum Database release.
gpmapreduce -f <config.yaml> [dbname [<username>]]
[-k <name=value> | --key <name=value>]
[-h <hostname> | --host <hostname>] [-p <port>| --port <port>]
[-U <username> | --username <username>] [-W] [-v]
gpmapreduce -x | --explain
gpmapreduce -X | --explain-analyze
gpmapreduce -V | --version
gpmapreduce -h | --help
The following are required prior to running this program:
EXEC
and FILE
inputs.GPFDIST
input unless the user has the appropriate rights granted.MapReduce is a programming model developed by Google for processing and generating large data sets on an array of commodity servers. Greenplum MapReduce allows programmers who are familiar with the MapReduce paradigm to write map and reduce functions and submit them to the Greenplum Database parallel engine for processing.
gpmapreduce
is the Greenplum MapReduce program. You configure a Greenplum MapReduce job via a YAML-formatted configuration file that you pass to the program for execution by the Greenplum Database parallel engine. The Greenplum Database system distributes the input data, runs the program across a set of machines, handles machine failures, and manages the required inter-machine communication.
Connection Options
PGHOST
or defaults to localhost.
PGPORT
or defaults to 5432.
PGUSER
or defaults to the current system user name.
Run a MapReduce job as defined in my_mrjob.yaml
and connect to the database mydatabase
:
gpmapreduce -f my_mrjob.yaml mydatabase