Github user albertshau commented on a diff in the pull request: https://github.com/apache/twill/pull/21#discussion_r95050605 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillRunnerService.java --- @@ -277,9 +281,16 @@ public TwillPreparer prepare(TwillApplication application) { Preconditions.checkState(serviceDelegate.isRunning(), "Service not start. Please call start() first."); final TwillSpecification twillSpec = application.configure(); final String appName = twillSpec.getName(); + RunId runId = RunIds.generate(); + Location appLocation = locationFactory.create(String.format("/%s/%s", twillSpec.getName(), runId.getId())); + LocationCache locationCache = this.locationCache; + if (locationCache == null) { + locationCache = new NoCachingLocationCache(appLocation); --- End diff -- nit: extra space
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---