ClusteringTestUtils.writePointsToFile(points, true, new Path(pointsPath, "file1"), fs, conf);
ClusteringTestUtils.writePointsToFile(points, true, new Path(pointsPath, "file2"), fs, conf);
Path outputPath = getTestTempDirPath("output");
// now run the Canopy job
CanopyDriver.run(conf, pointsPath, outputPath, new ManhattanDistanceMeasure(), 3.1, 2.1, false, 0.0, false);
DummyOutputCollector<Text, ClusterWritable> collector1 =
new DummyOutputCollector<Text, ClusterWritable>();
FileStatus[] outParts = FileSystem.get(conf).globStatus(