...
代码块 | ||||
---|---|---|---|---|
| ||||
<configuration> <property> <name>security.client.protocol.acl</name> <value>*</value> <description>ACL for ClientProtocol, which is used by user code via the DistributedFileSystem. The ACL is a comma-separated list of user and group names. The user and group list is separated by a blank. For e.g. "alice,bob users,wheel". A special value of "*" means all users are allowed.</description> </property> <!-- 这里把实验引擎ip, python执行节点ip,spark部署机器ip,hadoop部署机器ip,SmartbiMPP部署服务器ip都加上--> <!-- etlETL/数据挖掘中的组合查询节点,需要clickhouse访问hdfs数据挖掘中的组合查询节点,需要SmartbiMPP访问hdfs--> <!-- 增加以下配置 --> <property> <name>security.client.protocol.hosts</name> <value>10.10.35.64,10.10.35.65,10.10.35.66,10.10.35.67</value> </property> <!-- end --> <property> <name>security.client.datanode.protocol.acl</name> <value>*</value> <description>ACL for ClientDatanodeProtocol, the client-to-datanode protocol for block recovery. The ACL is a comma-separated list of user and group names. The user and group list is separated by a blank. For e.g. "alice,bob users,wheel". A special value of "*" means all users are allowed.</description> </property> <!-- 这里把实验引擎ip,python执行节点ip,spark部署机器ip,hadoop部署机器ip,SmartbiMPP部署服务器ip都加上--> <!-- etlETL/数据挖掘中的组合查询节点,需要clickhouse访问hdfs数据挖掘中的组合查询节点,需要SmartbiMPP访问hdfs--> <!-- 增加以下配置 --> <property> <name>security.client.datanode.protocol.hosts</name> <value>10.10.35.64,10.10.35.65,10.10.35.66,10.10.35.67</value> </property> <!-- end --> <property> <name>security.datanode.protocol.acl</name> <value>*</value> <description>ACL for DatanodeProtocol, which is used by datanodes to communicate with the namenode. The ACL is a comma-separated list of user and group names. The user and group list is separated by a blank. For e.g. "alice,bob users,wheel". A special value of "*" means all users are allowed.</description> </property> <!-- hadoop-policy.xml配置文件以上部分需要修改 --> <!-- hadoop-policy.xml后续配置无需修改和添加,此处省略,避免文档篇幅过长 --> <!-- ... --> </configuration> |
...