Hadoop工作已接受但未运行Hadoop2.4.1

时间:2014-08-12 09:31:06

标签: hadoop hadoop2

我有一个Hadoop2.4.1的分布式集群。当我运行一个示例作业时,它处于接受状态但未运行。

下面是命令提示符,它在哪里变得理想。

/usr/local/hadoop/share/hadoop/mapreduce$ hadoop jar hadoop-mapreduce-examples-2.4.1.jar pi 3 2

Number of Maps  = 3
Samples per Map = 2
14/08/12 14:21:18 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
Starting Job
14/08/12 14:21:20 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
14/08/12 14:21:21 INFO input.FileInputFormat: Total input paths to process : 3
14/08/12 14:21:21 INFO mapreduce.JobSubmitter: number of splits:3
14/08/12 14:21:21 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1407833440940_0001
14/08/12 14:21:22 INFO impl.YarnClientImpl: Submitted application application_1407833440940_0001
14/08/12 14:21:22 INFO mapreduce.Job: The url to track the job: http://impc1368.htcindia.com:8088/proxy/application_1407833440940_0001/
14/08/12 14:21:22 INFO mapreduce.Job: Running job: job_1407833440940_0001

1 个答案:

答案 0 :(得分:-2)

检查nodemanager的日志文件以获取java.net.ConnectException,并检查yarn.resourcemanager.address的yarn-site.xml的config