Hadoop 搭建好,运行 PI 实例检查集群,发现到 Running job一直没反应 5C

[hyc@master ~]$ hadoop jar ~/hadoop-2.5.1/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.5.1.jar pi 10 10 
Number of Maps  = 10
Samples per Map = 10
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
Wrote input for Map #3
Wrote input for Map #4
Wrote input for Map #5
Wrote input for Map #6
Wrote input for Map #7
Wrote input for Map #8
Wrote input for Map #9
Starting Job
19/11/19 15:17:56 INFO client.RMProxy: Connecting to ResourceManager at master/192.168.16.4:18040
19/11/19 15:17:59 INFO input.FileInputFormat: Total input paths to process : 10
19/11/19 15:17:59 INFO mapreduce.JobSubmitter: number of splits:10
19/11/19 15:18:00 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1574142670145_0002
19/11/19 15:18:01 INFO impl.YarnClientImpl: Submitted application application_1574142670145_0002
19/11/19 15:18:01 INFO mapreduce.Job: The url to track the job: http://master:18088/proxy/application_1574142670145_0002/
19/11/19 15:18:01 INFO mapreduce.Job: Running job: job_1574142670145_0002

a1004314120
qq_865326685 解决了,端口没有开放的原因
2 个月之前 回复

2个回答

看下节点上的yarn日志,应该能发现点什么

a1004314120
qq_865326685 嗯嗯,解决了,云服务器端口没有打开,一直向从服务器发送请求
2 个月之前 回复
a1004314120
qq_865326685 谢谢,已经解决了,我试了试他这个不管用,我的是服务器端口没开
2 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问