Java Code Examples for org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob

The following examples show how to use org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorJob. These examples are extracted from open source projects. 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 Project: RDFS   Source File: AggregateWordCount.java    License: 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 Project: RDFS   Source File: AggregateWordHistogram.java    License: 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 Project: hadoop-gpu   Source File: AggregateWordCount.java    License: 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 Project: hadoop-gpu   Source File: AggregateWordHistogram.java    License: 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 Project: hadoop-book   Source File: AggregateWordCount.java    License: 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 Project: hadoop-book   Source File: AggregateWordHistogram.java    License: 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);
}