Toggle navigation
主页
文章
ChatGPT
在线编程
pygame-ide-online
关于
登录
注册
文章
用户
相关用户
查看全部>
兜兜
文章 206
勒布朗陈佩
...
斯2
文章 1
海婧忆豚
文章 3
admin
...
istrator
文章 1
大王山
文章 2
不想差那么
...
一点
文章 0
EllJu
...
rb
文章 0
32325
...
23532
文章 0
文章类别:
Web开发 (0)
云计算 (0)
大数据 (5)
区块链 (0)
安全 (4)
数据库 (9)
服务器 (9)
架构 (1)
游戏开发 (0)
物联网 (0)
移动开发 (0)
系统 (7)
运维 (38)
编程语言 (10)
网络 (4)
计算机基础 (0)
软件研发 (0)
其他 (0)
原创
CDH集群关闭kerberos
兜兜
2021-11-15 15:04:03
2022-01-25 09:27:04
kerberos
CDH
#### 关闭zookeeper参数 ```sh enableSecurity (Enable Kerberos Authentication) False (uncheck) ``` #### 关闭hbase参数 ```sh hadoop.security.authentication Simple hadoop.security.authorization False (uncheck) dfs.datanode.address from 1004 (for Kerberos) to 50010 (default) dfs.datanode.http.address from 1006 (for Kerberos) to 50075 (default) Data Directory Permissions from 700 to 755 ``` #### 关闭kafka参数 ```sh kerberos.auth.enable False ``` #### 关闭yarn参数 ```sh yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user yarn yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users false ``` #### 重启相关服务 #### 问题 `问题一、failure controller服务报code:NOAUTH for path /hadoop-ha/nameservice1/ActiveStandbyElectorLock` 分析:zookeeper查看getAcl /hadoop-ha,failure controller节点无权限访问读取该节点 解决方法:添加zookeeper权限检查参数、删除rmr /hadoop-ha,初始化故障转移Znode ```sh 1.添加-Dzookeeper.skipACL=yes配置项(打开zookeeper配置,搜索java关键字) 2.重启zookeeper服务 3.登录zkcli删除zkfc znode:rmr /hadoop-ha/nameservice-test1 4.删除-Dzookeeper.skipACL=yes配置项 5.重启zookeeper及相应服务 6.初始化故障转移Znode ```
阅读 2274
评论 0
收藏 0
阅读 2274
评论 0
收藏 0