服务器集群搭建断电后如何重启cloudera集群

没有更多推荐了,
不良信息举报
举报内容:
重新安装cdh的必备准备步骤
举报原因:
原文地址:
原因补充:
最多只允许输入30个字
加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!没有更多推荐了,
不良信息举报
举报内容:
ClouderaManager修改集群IP步骤
举报原因:
原文地址:
原因补充:
最多只允许输入30个字
加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!查看: 10975|回复: 0
CDH5如何回滚集群静态服务池记录
主题听众收听
信息来自漫步人生,由本人整理共享
CDH5如何回滚集群静态服务池?
集群有50G内存,7.7G有点小
QQ图片41.png (20.46 KB, 下载次数: 0)
15:27 上传
解决办法:
英文好的就看原文吧:
Disabling Static Service Pools
To disable static service pools, disable cgroup-based resource management for all hosts in all clusters:
1.In the main navigation bar, click Hosts.
2.Click the Configuration tab.
3.Click the Resource Management category, uncheck the Enable Cgroup-based Resource Management property, then click Save Changes.
4.Restart all services.
Static resource management is disabled, but the percentages you set when you configured the pools, and all the changed settings (for example, heap sizes), are retained by the services. The percentages and settings will also be used when you re-enable static service pools. If you want to revert to the settings you had before static service pools were enabled, follow the procedures in Viewing and Reverting Configuration Changes. 复制代码
译文:不当之处多多指正
停止静态服务池
停止静态服务池,停止集群上所有主机的resource management
1.在主导航栏上,单击“主机。
2.单击“配置”选项卡。
3.单击Resource Management,取消Cgroup-based资源管理属性,然后保存改变。
4.重启所有服务
静态资源管理是禁用的,但是配置的静态服务池,以及其它改变的设置(例如heap size ),已被服务保存。当你重新启用静态服务池,这些百分比及设置都会生效。如果你想恢复到之前的配置,按照下面的程序,恢复改变即可
欢迎加入about云群 、 ,云计算爱好者群,关注
经常参与各类话题的讨论,发帖内容较有主见
经常帮助其他会员答疑
积极宣传本站,为本站带来更多注册会员
积极宣传本站,为本站带来更多的用户访问量
长期对论坛的繁荣而不断努力,或多次提出建设性意见
活跃且尽责职守的版主
为论坛做出突出贡献的会员
站长推荐 /4
会员注册不成功的原因
新手获取积分方法
hadoop3.0学习:零基础安装部署hadoop集群
about云课程:大数据日志实时分析
Powered by没有更多推荐了,
不良信息举报
举报内容:
我的Hadoop安装——使用Cloudera部署,管理Hadoop集群(离线安装CDH5.7.0)
举报原因:
原文地址:
原因补充:
最多只允许输入30个字
加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!安装过程中,由于网络终端,导致下面问题:
问题1:安装停止在获取安装锁/tmp/scm_prepare_node.tYlmPfrT&using SSH_CLIENT to get the SCM hostname: 172.16.77.20 33950 22&opening logging file descriptor&正在启动安装脚本...正在获取安装锁...BEGIN flock 4&这段大概过了半个小时,关闭selinux ! disabled
问题2:不能选择主机安装失败了,重新不能选主机&图1解决方案,需要清理安装失败文件问题3:DNS反向解析PTR localhost:
描述:DNS反向解析错误,不能正确解析Cloudera Manager Server主机名日志:
Detecting Cloudera Manager Server...Detecting Cloudera Manager Server...BEGIN host -t PTR 192.168.1.198198.1.168.192.in-addr.arpa domain name pointer localhost.END (0)using localhost as scm server hostnameBEGIN which python/usr/bin/pythonEND (0)BEGIN python -c ' s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' localhost 7182Traceback (most recent call last):File "&string&", line 1, in &module&File "&string&", line 1, in connectsocket.error: [Errno 111] Connection refusedEND (1)could not contact scm server at localhost:7182, giving upwaiting for rollback request
解决方案:
将连不上的机器 /usr/bin/host 文件删掉,执行下面命令:
sudo mv /usr/bin/host /usr/bin/host.bak
不明白cloudera的初衷,这里已经得到 Cloudera Manager Server的ip了,却还要把ip解析成主机名来连接
由于DNS反向解析没有配置好,根据Cloudera Manager Server 的ip解析主机名却得到了localhost,造成之后的连接错误
这里的解决方案是直接把/usr/bin/host删掉,这样Cloudera Manager就会直接使用 ip进行连接,就没有错了
问题 4 NTP:
问题描述:&
Bad Health --Clock Offset
The host's NTP service did not respond to a request for the clock offset.
配置NTP服务
步骤参考:
CentOS配置NTP Server:
国内常用NTP服务器地址及IP
修改配置文件:[root@work03 ~]# vim /etc/ntp.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool ().
server s1a.time.edu.cn prefer
server s1b.time.edu.cn
server s1c.time.edu.cn
restrict 172.16.1.0 mask 255.255.255.0 nomodify& &&===放行局域网来源
启动ntp#service ntpd restart& & &===启动ntp服务客户端同步时间(work02,work03):ntpdate work01说明:NTP服务启动需要大约五分钟时间,服务启动之前,若客户端同步时间,则会出现错误&no server suitable for synchronization found&定时同步时间:在work02和 work03上配置crontab定时同步时间crontab -e00 12 * * * root /usr/sbin/ntpdate 192.168.56.121 && /root/ntpdate.log 2&&1&问题 2.2描述:& &&&Clock Offset
Ensure that the host's hostname is configured properly.
Ensure that port 7182 is accessible on the Cloudera Manager Server (check firewall rules).
Ensure that ports 9000 and 9001 are free on the host being added.
Check agent logs in /var/log/cloudera-scm-agent/ on the host being added (some of the logs can be found in the installation details).
问题定位:
在对应host(work02、work03)上运行 'ntpdc -c loopinfo'[root@work03 work]# ntpdc -c loopinfontpdc: read: Connection refused
开启ntp服务:三台机器都开机启动 ntp服务chkconfig ntpd on
问题 5 heartbeat:
错误信息:
Installation failed. Failed to receive heartbeat from agent.
解决:关闭防火墙
问题 6 Unknow Health:
Unknow Health重启后:Request to theHost Monitor failed.service --status-all| grep clo机器上查看scm-agent状态:cloudera-scm-agent dead but pid file exists解决:重启服务service cloudera-scm-agent restart
service cloudera-scm-server restart
问题 7 canonial name hostname consistent:
Bad Health
The hostname and canonical name for this host are not consistent when checked from a Java process.
canonical name:
4092 Monitor-HostMonitor throttling_logger WARNING&&(29 skipped) hostname work02 differs from the canonical name work02.xinzhitang.com
解决:修改hosts 使FQDN和 hostname相同
ps:虽然解决了但是不明白为什么主机名和主机别名要一样
/etc/hosts
192.168.1.185 work01 work01
192.168.1.141 work02 work02
192.168.1.198 work03 work03
问题 8 Concerning Health:
Concerning Health Issue
--&&Network Interface Speed --
描述:The host has 2 network interface(s) that appear to be operating at less than full speed. Warning threshold: any.
This is a host health test that checks for network interfaces that appear to be operating at less than full speed.A failure of this health test may indicate that network interface(s) may be configured incorrectly and may be causing performance problems. Use the ethtool command to check and configure the host's network interfaces to use the fastest available link speed and duplex mode.
本次测试修改了 Cloudera Manager 的配置,应该不算是真正的解决
阅读(...) 评论()}

我要回帖

更多关于 服务器集群 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信