[
https://issues.apache.org/jira/browse/YARN-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340133#comment-15340133
]
Joep Rottinghuis commented on YARN-5196:
----------------------------------------
We may want to rename this to
Add refreshUserToGroupsMappings and refreshSuperUserGroupsConfiguration command
options to scmadmin command.
Indeed the scmadmin command lacks the following options (which rmadmin does
have):
{code}
-refreshUserToGroupsMappings Refresh user-to-groups mappings.
-refreshSuperUserGroupsConfiguration Refresh superuser proxy groups
mappings.
{code}
That said, the scm can be restarted "without having to restart the cluster",
meaning that the RM does not need to be restarted for this. SCM restart should
be safe.
> Command to refresh cache without having to restart the cluster
> --------------------------------------------------------------
>
> Key: YARN-5196
> URL: https://issues.apache.org/jira/browse/YARN-5196
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Prasad Wagle
> Priority: Minor
>
> After changing hadoop.proxyuser.x.groups in core-site.xml, we ran:
> dfsadmin -refreshSuperUserGroupsConfiguration
> rmadmin -refreshSuperUserGroupsConfiguration
> However we are getting a warning:
> WARN [2016-06-02 17:54:50,914] ({pool-10-thread-1}
> SharedCacheClient.java[use]:137) - SCM might be down. The exception is User:
> x is not allowed to impersonate y
> Will be good to have a command to refresh the cache without having to restart
> the cluster.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]