[root@lcx mapreduce]# hadoop jar hadoop-mapreduce-examples-2.2.0.jar wordcount hdfs://lcx:9000/words hdfs://lcx:9000/wcount
15/03/20 08:02:41 INFO client.RMProxy: Connecting to ResourceManager at lcx/192.168.1.100:8032
15/03/20 08:02:42 INFO input.FileInputFormat: Total input paths to process : 1
15/03/20 08:02:42 INFO mapreduce.JobSubmitter: number of splits:1
15/03/20 08:02:42 INFO Configuration.deprecation: user.name is deprecated. Instead, use mapreduce.job.user.name
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.jar is deprecated. Instead, use mapreduce.job.jar
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.output.value.class is deprecated. Instead, use mapreduce.job.output.value.class
15/03/20 08:02:42 INFO Configuration.deprecation: mapreduce.combine.class is deprecated. Instead, use mapreduce.job.combine.class
15/03/20 08:02:42 INFO Configuration.deprecation: mapreduce.map.class is deprecated. Instead, use mapreduce.job.map.class
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.job.name is deprecated. Instead, use mapreduce.job.name
15/03/20 08:02:42 INFO Configuration.deprecation: mapreduce.reduce.class is deprecated. Instead, use mapreduce.job.reduce.class
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.input.dir is deprecated. Instead, use mapreduce.input.fileinputformat.inputdir
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.output.dir is deprecated. Instead, use mapreduce.output.fileoutputformat.outputdir
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.output.key.class is deprecated. Instead, use mapreduce.job.output.key.class
15/03/20 08:02:42 INFO Configuration.deprecation: mapred.working.dir is deprecated. Instead, use mapreduce.job.working.dir
15/03/20 08:02:42 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1426840918345_0008
15/03/20 08:02:43 INFO impl.YarnClientImpl: Submitted application application_1426840918345_0008 to ResourceManager at lcx/192.168.1.100:8032
15/03/20 08:02:43 INFO mapreduce.Job: The url to track the job: http://lcx:8088/proxy/application_1426840918345_0008/
15/03/20 08:02:43 INFO mapreduce.Job: Running job: job_1426840918345_0008
15/03/20 08:02:47 INFO mapreduce.Job: Job job_1426840918345_0008 running in uber mode : false
15/03/20 08:02:47 INFO mapreduce.Job: map 0% reduce 0%
15/03/20 08:02:47 INFO mapreduce.Job: Job job_1426840918345_0008 failed with state FAILED due to: Application application_1426840918345_0008 failed 2 times due to AM Container for appattempt_1426840918345_0008_000002 exited with exitCode: -1 due to: .Failing this attempt.. Failing the application.
15/03/20 08:02:47 INFO mapreduce.Job: Counters: 0
运行wordcount不成功jps显示4965 NodeManager
4287 NameNode
34406 Jps
4626 SecondaryNameNode
4756 ResourceManager
4397 DataNode
都启动了
用的系统是centos6.4 64位 jdk1.7 hadoop2.2.0稳定版
求帮忙解决,万分感谢。 |
|