@Test
public void testAvroBasedWritablePipeline() throws Exception {
String customersInputPath = tmpDir.copyResourceFileName("customers.txt");
Pipeline pipeline = new MRPipeline(AvroWritableIT.class, tmpDir.getDefaultConfiguration());
pipeline.enableDebug();
PCollection<String> customerLines = pipeline.readTextFile(customersInputPath);
Map<Integer, DoubleWritable> outputMap = customerLines.parallelDo(
new MapFn<String, Pair<Integer, DoubleWritable>>() {
@Override
public Pair<Integer, DoubleWritable> map(String input) {
int len = input.length();