+ workingDir);
System.exit(0);
}
if (whichCluster.equalsIgnoreCase("realCluster")) {
pigServer = new PigServer(ExecType.MAPREDUCE, ConfigurationUtil
.toProperties(conf));
pigServer.registerJar(zebraJar);
}
if (whichCluster.equalsIgnoreCase("miniCluster")) {
if (execType == ExecType.MAPREDUCE) {
cluster = MiniCluster.buildCluster();
pigServer = new PigServer(ExecType.MAPREDUCE, cluster.getProperties());
fs = cluster.getFileSystem();
} else {
pigServer = new PigServer(ExecType.LOCAL);
}
}
}