tasks.add(spec);
}
TUserGroupInfo userInfo = new TUserGroupInfo("User", "*", 0);
while(true) {
client.submitJob(APPLICATION_ID, tasks, userInfo);
tasksLaunched.addAndGet(tasks.size());
LOG.info(tasksLaunched.get() + " tasks launched");
Thread.sleep(1000);
}