Package org.apache.hadoop.mrunit.mapreduce.mock

Examples of org.apache.hadoop.mrunit.mapreduce.mock.MockInputSplit


    }

    final List<Pair<K1, V1>> inputs = new ArrayList<Pair<K1, V1>>();
    inputs.add(new Pair<K1, V1>(inputKey, inputVal));

    final InputSplit inputSplit = new MockInputSplit();
   
    try {
      final MockMapContextWrapper<K1, V1, K2, V2> wrapper = new MockMapContextWrapper<K1, V1, K2, V2>(
          inputs, getCounters(), getConfiguration(), inputSplit);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.mrunit.mapreduce.mock.MockInputSplit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.