}
mapper.config(canopies);
List<VectorWritable> points = getPointsWritable(raw);
// map the data
for (VectorWritable point : points) {
mapper.map(new Text(), point, collector, new DummyReporter());
}
Map<String,List<VectorWritable>> data = collector.getData();
// reduce the data
Reducer<Text,VectorWritable,Text,VectorWritable> reducer = new IdentityReducer<Text,VectorWritable>();