155156157158159160161162163164165
} counter ++; } Assert.assertNotNull("TaskTracker has not been found",ttClient); if (testName.equals("LTT1")) { ttClient.kill(); waitForTTStop(ttClient); UtilsForTests.waitFor(20000); ttClient.start(); waitForTTStart(ttClient); } else {
163164165166167168169170171172173
ttClient.start(); waitForTTStart(ttClient); } else { int index = 0 ; while(index++ < 4 ) { ttClient.kill(); waitForTTStop(ttClient); UtilsForTests.waitFor(40000); ttClient.start(); waitForTTStart(ttClient); taskInfo = wovenClient.getTaskInfo(taskInfo.getTaskID());
140141142143144145146147148149150
148149150151152153154155156157158
318319320321322323324325326327328
} } TTClient ttClient = cluster.getTTClientInstance(taskInfo); String pid = null; ttClient.kill(); ttClient.waitForTTStop(); ttClient.start(); ttClient.waitForTTStart(); count = 0;