Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

主机迁移导致 nodemanager 无法启动 #15

Open
chilianyi opened this issue Aug 3, 2021 · 0 comments
Open

主机迁移导致 nodemanager 无法启动 #15

chilianyi opened this issue Aug 3, 2021 · 0 comments

Comments

@chilianyi
Copy link
Collaborator

截屏2021-08-03 10 40 41

主机迁移后,服务状态变成 unhealthy

登陆主机中查看,现象:

  1. nodemanager 进程不存在,/data/hadoop/logs 下无日志。
  2. 执行 /opt/spark/sbin/check-slave.sh,报错: node manager 未启动。
  3. 执行 /opt/spark/sbin/action-slave.sh,报错:node manager 已启动。

导致节点健康状态一直无法恢复。

恢复流程:

  1. 删除 /data/hadoop/pids/ 中 nodemanager 的 pid
  2. 执行 /opt/spark/sbin/action-slave.sh

需要在新版本中,复现并修复该问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant