Example usage for org.apache.hadoop.mapreduce Mapper subclass-usage

List of usage examples for org.apache.hadoop.mapreduce Mapper subclass-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce Mapper subclass-usage.

Usage

From source file com.kasabi.labs.freebase.mr.Freebase2RDFMapper.java

public class Freebase2RDFMapper extends Mapper<LongWritable, Text, Text, Text> {

    private static final Logger log = LoggerFactory.getLogger(Freebase2RDFMapper.class);

    private static final byte[] FREEBASE_NS = "http://rdf.freebase.com/ns".getBytes();
    private static final String LANG = "/lang/";

From source file com.knewton.mapreduce.SSTableColumnMapper.java

/**
 * Abstract mapper class that takes in a row key as its key and a column as its value. Used in
 * conjunction with {@link SSTableColumnRecordReader}
 *
 * @param <K2>
 *            Out key

From source file com.knewton.mapreduce.SSTableRowMapper.java

/**
 * Abstract mapper class that takes in a row key as its key and a column as its value. Used in
 * conjunction with {@link SSTableRowRecordReader}
 *
 * @author Giannis Neokleous
 *

From source file com.lightboxtechnologies.spectrum.BlockHashMapper.java

public class BlockHashMapper extends Mapper<NullWritable, FileSplit, LongWritable, MD5Hash> {

    private static final Log LOG = LogFactory.getLog(ExtractMapper.class.getName());

    private static final int BLOCK_SIZE = 512;
    private final byte[] Buffer = new byte[BLOCK_SIZE * 1024];

From source file com.lightboxtechnologies.spectrum.ExtractDataMapper.java

public class ExtractDataMapper extends Mapper<NullWritable, FileSplit, ImmutableBytesWritable, KeyValue> {

    private static final Log LOG = LogFactory.getLog(ExtractDataMapper.class.getName());

    static enum FileTypes {
        SMALL, BIG, FRAGMENTED, BIG_DUPES, PROBLEMS, BYTES

From source file com.lightboxtechnologies.spectrum.ExtractMapper.java

public class ExtractMapper extends Mapper<NullWritable, FileSplit, ImmutableBytesWritable, KeyValue> {

    private static final Log LOG = LogFactory.getLog(ExtractMapper.class.getName());

    static enum FileTypes {
        SMALL, BIG, FRAGMENTED, BIG_DUPES, PROBLEMS, BYTES

From source file com.linkedin.cubert.plan.physical.CubertMapper.java

/**
 * Executes the physical plan of a job at the Mapper.
 * 
 * @author Maneesh Varshney
 * 
 */

From source file com.linkedin.mr_kluj.ClojureMapper.java

/**
 *
 */
public class ClojureMapper extends Mapper<Object, Object, Object, Object> {
    IFn theFunction;
    long currTime;

From source file com.littlehotspot.hadoop.mr.nginx.mapper.GeneralMapper.java

/**
 * <h1>Mapper - </h1>
 *
 * @author <a href="http://www.lizhaoweb.cn">??(John.Lee)</a>
 * @version 1.0.0.0.1
 * @notes Created on 20170601<br>

From source file com.littlehotspot.hadoop.mr.nginx.module.cdf.CDFMapper.java

/**
 * <h1>Mapper - ???</h1>
 *
 * @author <a href="http://www.lizhaoweb.cn">??(John.Lee)</a>
 * @version 1.0.0.0.1
 * @notes Created on 20170601<br>