Github user chtyim commented on a diff in the pull request:
https://github.com/apache/twill/pull/7#discussion_r76454783
--- Diff:
twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillRunnerService.java ---
@@ -211,7 +226,7 @@ public String getJVMOptions() {
@Override
public Cancellable scheduleSecureStoreUpdate(final SecureStoreUpdater
updater,
long initialDelay, long
delay, TimeUnit unit) {
- if (!UserGroupInformation.isSecurityEnabled()) {
+ if (!UserGroupInformation.isSecurityEnabled() ||
!enableSecureStoreUpdate) {
--- End diff --
You shouldn't disable this one. Otherwise user won't be able to schedule
his own update. We should only disable the default one by Twill (the one that
update HDFS delegation tokens in `startUp`).
---
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 [email protected] or file a JIRA ticket
with INFRA.
---