栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

Hadoop执行grep实例报错pc.Client: Retrying connect to server: master/172.17.0.2:8032. Already tried 2 time(

Hadoop执行grep实例报错pc.Client: Retrying connect to server: master/172.17.0.2:8032. Already tried 2 time(

试了网上很多种方法都不行,求大神帮忙,感激不尽!!
我在用docker搭建hadoop集群的时候,hadoop成功启动了,但是执行grep的时候报错了:
./bin/hadoop jar ./share/hadoop/mapreduce/hadoop-mapreduce-examples-*.jar grep /usr/hadoop/input output ‘dfs[a-z.]+’
INFO client.RMProxy: Connecting to ResourceManager at master/172.17.0.2:8032
INFO ipc.Client: Retrying connect to server: master/172.17.0.2:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
INFO ipc.Client: Retrying connect to server: master/172.17.0.2:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
INFO ipc.Client: Retrying connect to server: master/172.17.0.2:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
INFO ipc.Client: Retrying connect to server: master/172.17.0.2:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
不知道哪里配置错了,已经看了防火墙,没有安装防火墙。yarn-site.xml是这么配置的:

  
      yarn.nodemanager.aux-services
      mapreduce_shuffle
  
yarn.nodemanager.aux-services.mapreduce.shuffle.class org.apache.hadoop.mapred.ShuffleHandler yarn.resourcemanager.address master:8032 yarn.resourcemanager.scheduler.address master:8030 yarn.resourcemanager.resource-tracker.address master:8031
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/761362.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号