当前位置:网站首页>Ambari cluster expansion node + expansion service operation
Ambari cluster expansion node + expansion service operation
2022-07-19 05:32:00 【Don't sew behind the mountain】
Prepare before capacity expansion
a. Turn off firewall systemctl stop firewalld.service systemctl disable firewalld.service b. To configure /etc/hosts, Configure mutual trust ssh-keygen -t rsa : Three consecutive times , When it's done, it'll be /root/.ssh/id_rsa.pub Inside public key ,cp To authorized_keys Put the original cluster node /root/.ssh/authorized_keys cp To the expansion node , And add the public key of the expansion node c. install JDK Will the master node JDK, And /etc/proflie scp To the expansion node . d. install NtpAdd host - Page operation
Enter host name ;
Enter the private key of the master node : If it is filled in incorrectly, the following error will be reported
ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Don't fill in the wrong key here !!
After completion, go to the next step , Select installation services
3. Add service
Installation error :
stderr:
Traceback (most recent call last):
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 51, in _ensure_metadata
_user_entity = pwd.getpwnam(user)
KeyError: 'getpwnam(): name not found: hbase'
.......
KeyError: 'getgrnam(): name not found: hadoop'
resolvent :
Because the expansion will not automatically create users , So you need to create it manually , The following users need to create ,
groupadd hbase
useradd -d /home/hbase -g hbase hbase
groupadd hdfs
useradd -d /home/hdfs -g hdfs hdfs
groupadd hadoop
useradd -d /home/hadoop -g hadoop hadoop
yarn-ats
groupadd yarn-ats
useradd -d /home/yarn-ats -g yarn-ats yarn-ats
ams
groupadd ams
useradd -d /home/ams -g ams ams
tez
groupadd tez
useradd -d /home/tez -g tez tez
groupadd logsearch
useradd -d /home/logsearch -g logsearch logsearch
5. After the expansion is completed , Some components need to start the instance manually
边栏推荐
猜你喜欢
随机推荐
软件测试就业前景怎样 人才需求大,岗位稳定性强
Opendds QoS and custom QoS (timing, timingqospolicy)
Teach you to reproduce log4j2 nuclear weapon level vulnerability hand in hand
面试官:大量请求 Redis 不存在的数据,从而影响数据库,该如何解决?
Performance bottleneck finding - Flame graph analysis
Common (Consortium)
Advanced operation of C language
MySQL安装配置教程(超级详细)
What are the B domain, m domain and O domain
Data Lakehouse的未来-开放
MYSQL基本语法字典
聊聊redis分布式锁的8大坑
gradle
Application of recursion
What is the employment prospect of software testing? There is a large demand for talents and strong job stability
SQL injection
时间差计算
聊聊并发编程的12种业务场景
函数与参数
Network command: network card information, netstat, ARP









