InstantiationException, IllegalAccessException, InterruptedException, ClassNotFoundException {
Path directoryContainingConvertedInput = new Path(output, DIRECTORY_CONTAINING_CONVERTED_INPUT);
InputDriver.runJob(input, directoryContainingConvertedInput, "org.apache.mahout.math.RandomAccessSparseVector");
CanopyDriver.run(new Configuration(), directoryContainingConvertedInput, output, measure, t1, t2, true, false);
// run ClusterDumper
ClusterDumper clusterDumper =
new ClusterDumper(new Path(output, "clusters-0"), new Path(output, "clusteredPoints"));
clusterDumper.printClusters(null);
}