zoukankan      html  css  js  c++  java
  • Hadoop配置yarn出现Unhealthy Nodes

    1.搭建完hadoop后,出现“Unhealthy Nodes”不安全的节点

    解决方法:在/opt/modules/hadoop-2.5.0/logs路径下查看resourcemanager用户日志,找到对应原因

    NodeManager from node bigdata-01(cmPort: 38395 httpPort: 8042) registered with capability: <memory:8192, vCores:8>, assigned nodeId bigdata-01:38395

    This happens when you don't have write access to the folder listed (in this case,/tmp/nodemanagerLog). To fix the problem, change this directory in your -site.xml file.

    看来是因为我是以root用户在R上运行mapreduce,对log路径没有写权限,所以才会导致这个错误。。。

    修改权限为777后重启hadoop,问题解决!

    chmod 777 logs 

    sbin/yarn-daemon.sh start resourcemanager
    sbin/yarn-daemon.sh start nodemanager

  • 相关阅读:
    页面滚动
    tcbRouter
    http缓存策略
    Ajax跨域
    tcp 3次握手和4次挥手
    http头字段
    http工作原理
    一个下载Windows镜像的地址
    安装MySQL-8.0.13
    配置Java,jdk环境变量
  • 原文地址:https://www.cnblogs.com/confidentljw/p/8228466.html
Copyright © 2011-2022 走看看