Example usage for org.apache.hadoop.streaming PipeMapRed getConfiguration

List of usage examples for org.apache.hadoop.streaming PipeMapRed getConfiguration

Introduction

In this page you can find the example usage for org.apache.hadoop.streaming PipeMapRed getConfiguration.

Prototype

public Configuration getConfiguration() 

Source Link

Document

Returns the Configuration.

Usage

From source file:fm.last.darling.hbase.HBaseJSONOutputReader.java

License:Apache License

@Override
public void initialize(PipeMapRed pipeMapRed) throws IOException {
    super.initialize(pipeMapRed);

    rowkey = new ImmutableBytesWritable();
    line = new Text();

    datainput = pipeMapRed.getClientInput();
    conf = pipeMapRed.getConfiguration();
    numKeyFields = pipeMapRed.getNumOfKeyFields();
    separator = pipeMapRed.getFieldSeparator();

    lineReader = new LineReader((InputStream) datainput, conf);
}