Exemplo n.º 1
0
 public boolean waitForCompletion(boolean verbose)
     throws IOException, InterruptedException, ClassNotFoundException, Exception {
   if (state == JobState.DEFINE) {
     submit();
   }
   if (verbose) {
     jobClient.monitorAndPrintJob(this, info, getNumSuperStep());
   } else {
     info.waitForCompletion();
   }
   return isSuccessful();
 }