[
https://issues.apache.org/jira/browse/GOBBLIN-1210?focusedWorklogId=457309&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-457309
]
ASF GitHub Bot logged work on GOBBLIN-1210:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 10/Jul/20 19:03
Start Date: 10/Jul/20 19:03
Worklog Time Spent: 10m
Work Description: sv2000 commented on a change in pull request #3057:
URL: https://github.com/apache/incubator-gobblin/pull/3057#discussion_r453027666
##########
File path:
gobblin-yarn/src/main/java/org/apache/gobblin/yarn/GobblinApplicationMaster.java
##########
@@ -104,7 +104,9 @@ public GobblinApplicationMaster(String applicationName,
String applicationId, Co
if (UserGroupInformation.isSecurityEnabled()) {
LOGGER.info("Adding YarnContainerSecurityManager since security is
enabled");
-
this.applicationLauncher.addService(buildYarnContainerSecurityManager(this.config,
this.fs));
+ YarnContainerSecurityManager yarnContainerSecurityManager =
buildYarnContainerSecurityManager(this.config, this.fs);
Review comment:
One more comment: For safety, it may make sense to do the same action on
the worker nodes as well i.e. on start up read the latest tokens from the token
file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 457309)
Time Spent: 40m (was: 0.5h)
> Force AM to read from token file to update token when start up
> --------------------------------------------------------------
>
> Key: GOBBLIN-1210
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1210
> Project: Apache Gobblin
> Issue Type: Task
> Reporter: Zihan Li
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)