public Job submit() throws InterruptedException, ExecutionException {
  Future<Job> f=submitter.submit(topology);
  return f.get();
}

public Job submit ( ) throws InterruptedException , ExecutionException { Future < Job > f = submitter . submit ( topology ) ; return f . get ( ) ; }
submits the application topology .
