EPiC
Efficient Privacy-Preserving Counting for MapReduce
 All Classes Namespaces Functions Variables
Classes | Public Member Functions | Static Public Member Functions
mapred.Producer Class Reference

This is a MapReduce job used for generating a large data of set and storing in the HDFS. More...

Inherits Configured, and Tool.

List of all members.

Classes

class  AmazonProducerInputFormat
class  AmazonProducerOutputFormat
class  AmazonProducerRecordReader
class  AmazonProducerRecordWriter
class  AmazonProducerSplit
class  Map

Public Member Functions

int run (String[] args) throws Exception
 main function

Static Public Member Functions

static void main (String[] args) throws Exception

Detailed Description

This is a MapReduce job used for generating a large data of set and storing in the HDFS.

The generated data in the HDFS will be read later by a counting job. This class was created and used for experiments.

Usage:

hadoop jar <JARFILE> mapred.Producer -Dquantity=<quantity> -Dparamfile=<paramfile> <genoutput>

JARFILE
The JAR file containing the application.
quantity
Number of records to generate.
paramfile
Name of parameters file. Path to the parameters file must be a relative path to this class in the JAR file. See Parameters for details on parameters file.
genoutput
A HDFS path to the directory containing the generated data.

For details on what data is generated and how records are formatted, see common.Producer.

Author:
vohuudtr

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables