public void testOnCluster() throws Exception {
// run the test on cluster
PigServer pigServer = new PigServer(cluster.getExecType(), properties);
String inputFileName = runTest(pigServer);
Util.deleteFile(cluster, inputFileName);
pigServer.shutdown();
}
@Test
public void testLocal() throws Exception {
// run the test locally