}
List<URI> containerResources = addLogbackConfig(Lists.<URI>newArrayList());
TwillController twillController = twillPreparer
.withDependencies(new HBaseTableUtilFactory().get().getClass())
//TODO: Fix Logging in Distributed Mode.
//.addLogHandler(new PrinterLogHandler(new PrintWriter(System.out, true)))
.addSecureStore(YarnSecureStore.create(HBaseTokenUtils.obtainToken(hConf, new Credentials())))
.withResources(containerResources)
.withApplicationArguments(