zoukankan      html  css  js  c++  java
  • Hadoop3.0 WordCount测试一直Accept 状态,Nodes of the cluster 页面node列表个数为0

    起因是我运行wordcount测试一直卡主,不能执行,一直处于 Accept 状态,等待被执行,刚开始是各种配置yarn参数,以及host配置,后来发现还是不行

    hadoop 集群安装完成后,在50070的 HDFS 管理后台能看到,livenode 为2,

    但是在 YARN 的资源管理后台,http://hadoop-master:8088/cluster/nodes 下面看不到节点,

    原因分析:原来我写的是 <value>0.0.0.0:8088</value>,因为是一个web展示页面,毕竟上面配置过了yarn.resourcemanager.hostname为hadoop-1

    改好之后:

    <property>
    
    <description>The address of the RM web application.</description>
    
    <name>yarn.resourcemanager.webapp.address</name>
    
    <value>hadoop-1:8088</value>
    
    </property>

    node 列表看到了节点信息,WordCount测试也运行了

    特别感谢下这个朋友:
    http://forum.hadoop.tw/viewtopic.php?f=4&t=38321

  • 相关阅读:
    怎样解决:未找到路径“……”的控制器或该控制器未实现 IController?
    错误:org.springframework.jdbc.support.SQLErrorCodesFactory
    springbean的生命周期
    注解到处excel
    nio读取文件,输出文件
    AtomicReference
    唯一id
    hashmap1.7的死锁模拟
    数组模拟stack
    环形队列
  • 原文地址:https://www.cnblogs.com/buoge/p/8652065.html
Copyright © 2011-2022 走看看