当前位置:网站首页>ambari集群扩容节点+扩容服务操作
ambari集群扩容节点+扩容服务操作
2022-07-17 05:08:00 【山后别相缝】
扩容前准备
a.关闭防火墙 systemctl stop firewalld.service systemctl disable firewalld.service b.配置/etc/hosts, 配置互信 ssh-keygen -t rsa :连续三次,完成后将/root/.ssh/id_rsa.pub 里公钥,cp到authorized_keys 将原集群节点下/root/.ssh/authorized_keys cp到扩容节点,并添加扩容节点的公钥 c.安装JDK 将主节点JDK, 与 /etc/proflie scp到扩容节点. d.安装Ntp添加主机-页面操作
输入主机名;
输入主节点的私钥 :如果填错则会报下面的错误
ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
密钥这里不要填错了!!
完成后直接下一步,选择安装服务
3.添加服务
安装报错:
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'
解决方法 :
由于扩容不会自动创建用户,所以需要手动创建,以下用户都需要创建,
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.扩容完成后,有些组件需要手动启动实例即可
边栏推荐
- Easypoi excel multi sheet import
- RK356x U-Boot研究所(命令篇)3.4 mem内存相关命令的用法
- 网络命令:网卡信息,netstat,arp
- H5如何获取内网IP和公网IP
- [ES6] use multiple functions such as adding data, filtering and transmitting to the page to realize cases
- Submit the uniapp form (input, radio, picker) to get the parameter value
- mysql的事务
- mysql 缓存策略和解决方案
- Excel template export of easypoi
- Redis source code analysis dynamic string implementation (SDS)
猜你喜欢

Nacos configuration management

字幕文件与视频文件对不上的处理方式

一次全面的性能优化,从5秒优化到1秒

Parent components plus scoped sometimes affect child components

Distributed registry etcd

Wechat applet obtains the week, morning, noon and evening of month, year and day

第一个智能合约程序Faucet.sol

性能瓶颈查找-火焰图分析

mysql 缓存策略和解决方案

The first smart contract program faucet sol
随机推荐
Nacos configuration management
es6新增-字符串部分
Swagger configuration and use
(elaborate) ES6 remaining parameters, ES6 built-in objects, template string content (detailed example Dictionary) and practical cases of flexible use of the project
CityEngine 三维管道建模教程
JS native object plus attributes
Redis source code analysis 2 iterator
Swagger配置与使用
Cesium BIND Mouse Events and remove Mouse Events
H5页面使用js生成二维码
Solutions for vscode terminal failure
2.6.2 内存泄漏
Pat class B 1002: write this number
mysql的事务
Pointer advanced simple summary
BUUCTF web WarmUp
redis 源码分析 动态字符串实现(sds)
聊聊并发编程的12种业务场景
Network command: network card information, netstat, ARP
【Es6】forEach,for... in ,for... Of column, which allows you to quickly distinguish the usage and differences of various for statements through project cases (full version). There are detailed notes ins