正确打开所有网址,然后我尝试运行wordcount示例。 我进入了接受状态..没有跑。
[root@localhost hadoop-2.6.0]# yarn jar /usr/local/deployment/WordCount.jar input output
14/12/05 19:15:21 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/12/05 19:15:22 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
14/12/05 19:15:22 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
14/12/05 19:15:23 WARN mapreduce.JobSubmitter: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
14/12/05 19:15:24 INFO mapred.FileInputFormat: Total input paths to process : 30
14/12/05 19:15:25 INFO mapreduce.JobSubmitter: number of splits:30
14/12/05 19:15:25 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1417787106330_0001
14/12/05 19:15:26 INFO impl.YarnClientImpl: Submitted application application_1417787106330_0001
14/12/05 19:15:26 INFO mapreduce.Job: The url to track the job: http://local:8088/proxy/application_1417787106330_0001/
14/12/05 19:15:26 INFO mapreduce.Job: Running job: job_1417787106330_0001
在网络界面上输出:
User: root
Name: wordcount
Application Type: MAPREDUCE
Application Tags:
State: ACCEPTED
FinalStatus: UNDEFINED
有人可以告诉我可能的原因吗?