本文整理了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
[英]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);
内容来源于网络,如有侵权,请联系作者删除!