// run KMeans
cluster.setNumTaskManager(2);
cluster.setTaskManagerNumSlots(2);
cluster.start();
RemoteExecutor ex = new RemoteExecutor("localhost", cluster.getJobManagerRpcPort());
ex.executeJar(jarPath,
"org.apache.flink.test.util.testjar.KMeansForTest",
new String[] {
points.toURI().toString(),
clusters.toURI().toString(),
outFile.toURI().toString(),