[ https://issues.apache.org/jira/browse/TWILL-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951551#comment-15951551 ]
ASF GitHub Bot commented on TWILL-189: -------------------------------------- Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/48#discussion_r109236503 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillRunnerService.java --- @@ -265,6 +254,44 @@ public void cancel() { } @Override + public Cancellable setSecureStoreRenewer(SecureStoreRenewer renewer, long initialDelay, + long delay, long retryDelay, TimeUnit unit) { + synchronized (this) { + if (secureStoreScheduler != null) { + // Shutdown and block until the schedule is stopped + stopScheduler(secureStoreScheduler); + + Futures.getUnchecked(secureStoreScheduler.submit(new Runnable() { --- End diff -- Strange, I thought I removed it. Looks like some changes are lost. Let me double check > SecureStoreUpdater should support updating secure store as other users > ---------------------------------------------------------------------- > > Key: TWILL-189 > URL: https://issues.apache.org/jira/browse/TWILL-189 > Project: Apache Twill > Issue Type: New Feature > Components: api > Affects Versions: 0.7.0-incubating > Reporter: Ali Anwar > Fix For: 0.11.0 > > > SecureStoreUpdater always creates secure stores for the current user and > writes these as the current user. > It should allow writing the secure store as a different user. > For an example use case, see: https://github.com/caskdata/cdap/pull/6380 -- This message was sent by Atlassian JIRA (v6.3.15#6346)