Java Code Examples for org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob#createValueAggregatorJob()

The following examples show how to use org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob#createValueAggregatorJob() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AggregateWordCount.java    From RDFS with Apache License 2.0 5 votes vote down vote up
/**
 * The main driver for word count map/reduce program. Invoke this method to
 * submit the map/reduce job.
 * 
 * @throws IOException
 *           When there is communication problems with the job tracker.
 */
@SuppressWarnings("unchecked")
public static void main(String[] args) throws IOException {
  JobConf conf = ValueAggregatorJob.createValueAggregatorJob(args
      , new Class[] {WordCountPlugInClass.class});
 
  JobClient.runJob(conf);
}
 
Example 2
Source File: AggregateWordHistogram.java    From RDFS with Apache License 2.0 5 votes vote down vote up
/**
 * The main driver for word count map/reduce program. Invoke this method to
 * submit the map/reduce job.
 * 
 * @throws IOException
 *           When there is communication problems with the job tracker.
 */
@SuppressWarnings("unchecked")
public static void main(String[] args) throws IOException {
  JobConf conf = ValueAggregatorJob.createValueAggregatorJob(args
      , new Class[] {AggregateWordHistogramPlugin.class});
  
  JobClient.runJob(conf);
}
 
Example 3
Source File: AggregateWordCount.java    From hadoop-gpu with Apache License 2.0 5 votes vote down vote up
/**
 * The main driver for word count map/reduce program. Invoke this method to
 * submit the map/reduce job.
 * 
 * @throws IOException
 *           When there is communication problems with the job tracker.
 */
@SuppressWarnings("unchecked")
public static void main(String[] args) throws IOException {
  JobConf conf = ValueAggregatorJob.createValueAggregatorJob(args
      , new Class[] {WordCountPlugInClass.class});
 
  JobClient.runJob(conf);
}
 
Example 4
Source File: AggregateWordHistogram.java    From hadoop-gpu with Apache License 2.0 5 votes vote down vote up
/**
 * The main driver for word count map/reduce program. Invoke this method to
 * submit the map/reduce job.
 * 
 * @throws IOException
 *           When there is communication problems with the job tracker.
 */
@SuppressWarnings("unchecked")
public static void main(String[] args) throws IOException {
  JobConf conf = ValueAggregatorJob.createValueAggregatorJob(args
      , new Class[] {AggregateWordHistogramPlugin.class});
  
  JobClient.runJob(conf);
}
 
Example 5
Source File: AggregateWordCount.java    From hadoop-book with Apache License 2.0 3 votes vote down vote up
/**
 * The main driver for word count map/reduce program. Invoke this method to
 * submit the map/reduce job.
 *
 * @throws IOException When there is communication problems with the job
 * tracker.
 */
@SuppressWarnings("unchecked")
public static void main(String[] args) throws IOException {
    JobConf conf = ValueAggregatorJob.createValueAggregatorJob(args, new Class[]{WordCountPlugInClass.class});

    JobClient.runJob(conf);
}
 
Example 6
Source File: AggregateWordHistogram.java    From hadoop-book with Apache License 2.0 3 votes vote down vote up
/**
 * The main driver for word count map/reduce program. Invoke this method to
 * submit the map/reduce job.
 *
 * @throws IOException When there is communication problems with the job
 * tracker.
 */
@SuppressWarnings("unchecked")
public static void main(String[] args) throws IOException {
    JobConf conf = ValueAggregatorJob.createValueAggregatorJob(args, new Class[]{AggregateWordHistogramPlugin.class});

    JobClient.runJob(conf);
}