配置datanode起不来问题的解决
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了配置datanode起不来问题的解决相关的知识,希望对你有一定的参考价值。
参考技术A 9408 ResourceManager9265 SecondaryNameNode
11249 NameNode
12177 Jps
9510 NodeManager
9111 DataNode
关于datanode起不来的问题解决:
原因:由于多次对namenode进行格式化,导致namenode的clusterID变动,与datanode的clusterID不匹配所致。
方法1:对dfs/data/current下的VERSION当中进行修改clusterID=CID-a93b883c-65b6-434d-be6c-e86c28bddc9b
namenode clusterID = CID-d7606189-aad4-4e7c-ae4b-fac1ad145260; datanode clusterID = CID-a93b883c-65b6-434d-be6c-e86c28
bddc9b
方法2:直接rm -rf * /tmp/hadoop-centos/dfs/data目录,再重新start-all.sh
腾讯云主机systemctl restart elasticsearch起不来的问题解决
腾讯云主机elasticsearch起不来的问题解决 [root@VM_58_118_centos elasticsearch]# vim /usr/lib/systemd/system/elasticsearch.service [Unit] Description=Elasticsearch [Service] User=elasticsearch Group=elasticsearch LimitNOFILE=100000 LimitNPROC=100000 ExecStart=/usr/share/elasticsearch/bin/elasticsearch [Install] WantedBy=multi-user.target [root@VM_58_118_centos elasticsearch]# systemctl daemon-reload [root@VM_58_118_centos elasticsearch]# cat /etc/passwd |grep elasticsearch elasticsearch:x:984:988:elasticsearch user:/home/elasticsearch:/sbin/nologin 修改为 elasticsearch:x:984:988:elasticsearch user:/home/elasticsearch:/bin/bash [root@VM_58_118_centos elasticsearch]# mkdir -p /home/elasticsearch [root@VM_58_118_centos elasticsearch]# chmod -R 755 /home/elasticsearch su - elasticsearch /usr/share/elasticsearch/bin/elasticsearch -d exit [root@VM_58_118_centos elasticsearch]# ./plugins/search-guard-2/tools/sgadmin.sh -cn syhuo -h 127.0.0.1 -cd plugins/search-guard-2/sgconfig -ks plugins/search-guard-2/sgconfig/syhuo-keystore.jks -kspass 86337898 -ts plugins/search-guard-2/sgconfig/truststore.jks -tspass 86337898 -nhnv [root@VM_58_118_centos elasticsearch]# ps -ef |grep elasticsearch [root@VM_58_118_centos elasticsearch]# kill -9 xxxx [root@VM_58_118_centos elasticsearch]# systemctl restart elasticsearch [root@VM_58_118_centos elasticsearch]# systemctl restart status [root@VM_58_118_centos elasticsearch]# netstat -anop|grep 9300 [root@VM_58_118_centos elasticsearch]# cat /etc/passwd |grep elasticsearch elasticsearch:x:984:988:elasticsearch user:/home/elasticsearch:/bin/bash 修改为 elasticsearch:x:984:988:elasticsearch user:/home/elasticsearch:/sbin/nologin [root@VM_58_118_centos elasticsearch]# systemctl enable elasticsearch [root@VM_58_118_centos elasticsearch]# systemctl list-unit-files |grep enable |grep elasticsearch
以上是关于配置datanode起不来问题的解决的主要内容,如果未能解决你的问题,请参考以下文章
网友阿里云装的最新版docker起不来了,还是被coding给解决了
Oracle 数据库修改配置文件sga_target参数的值,sga_target值太小导致数据库服务起不来问题解决,调大sga_target参数方法