[
https://issues.apache.org/jira/browse/YARN-8102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421923#comment-16421923
]
Bibin A Chundatt commented on YARN-8102:
----------------------------------------
[~Naganarasimha]
IIUC profiles are considered based on {{resource-profiles.enabled}}
configuration.
Impacts could be as follows
# By default during resource manager startup we try to create store folder in
local file system inside tmp directory. There could be deployments with folder
level permissions are not given for /tmp folder too and user doesn't need the
attributes feature . In those deployment we are enforcing user to configure
directory else rm startup will fail.
# Related to runtime creation of default directory creation when attributes
are added could cause failure at runtime when rights are not given. I think
failing on start up is more appropriate.
Solution which i could think i as follows
# Have a dummy implementation for store which does nothing and configure Dummy
as default. Additional advantage is if the deployment is only distributed type
then we dont require store is implicitly supported. Attribute manager will be
alive always.
# If user want to use FileSystem implementation then user has to configure
explicitly in case of centralised mode.
Or add a flag to explicitly disable store.
> Retrospect on having enable and disable flag for Node Attribute
> ---------------------------------------------------------------
>
> Key: YARN-8102
> URL: https://issues.apache.org/jira/browse/YARN-8102
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Priority: Major
>
> Currently node attribute feature is by default enabled. We have to revisit on
> the same.
> Enabling by default means will try to create store for all cluster
> installation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]