Search in sources :

Example 1 with TypedBytesWritableOutput

use of org.apache.hadoop.typedbytes.TypedBytesWritableOutput in project hadoop by apache.

the class TypedBytesInputWriter method initialize.

@Override
public void initialize(PipeMapRed pipeMapRed) throws IOException {
    super.initialize(pipeMapRed);
    DataOutput clientOut = pipeMapRed.getClientOutput();
    tbOut = new TypedBytesOutput(clientOut);
    tbwOut = new TypedBytesWritableOutput(clientOut);
}
Also used : DataOutput(java.io.DataOutput) TypedBytesWritableOutput(org.apache.hadoop.typedbytes.TypedBytesWritableOutput) TypedBytesOutput(org.apache.hadoop.typedbytes.TypedBytesOutput)

Aggregations

DataOutput (java.io.DataOutput)1 TypedBytesOutput (org.apache.hadoop.typedbytes.TypedBytesOutput)1 TypedBytesWritableOutput (org.apache.hadoop.typedbytes.TypedBytesWritableOutput)1