org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.constructZkRootNodeACL()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(148)

本文整理了Java中org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.constructZkRootNodeACL()方法的一些代码示例,展示了ZKRMStateStore.constructZkRootNodeACL()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKRMStateStore.constructZkRootNodeACL()方法的具体详情如下:
包路径:org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
类名称:ZKRMStateStore
方法名:constructZkRootNodeACL

ZKRMStateStore.constructZkRootNodeACL介绍

[英]Given the Configuration and ACLs used (zkAcl) for ZooKeeper access, construct the ACLs for the store's root node. In the constructed ACL, all the users allowed by zkAcl are given rwa access, while the current RM has exclude create-delete access. To be called only when HA is enabled and the configuration doesn't set ACL for the root node.
[中]给定ZooKeeper访问使用的配置和ACL(zkAcl),为商店的根节点构建ACL。在构造的ACL中,zkAcl允许的所有用户都被授予rwa访问权限,而当前RM具有exclude create delete访问权限。仅在启用HA且配置未为根节点设置ACL时调用。

代码示例

代码示例来源:origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

zkRootNodeAcl = constructZkRootNodeACL(conf, zkAcl);

代码示例来源:origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

zkRootNodeAcl = constructZkRootNodeACL(conf, zkAcl);

代码示例来源:origin: com.github.jiayuhan-it/hadoop-yarn-server-resourcemanager

zkRootNodeAcl = constructZkRootNodeACL(conf, zkAcl);

相关文章