在服务器上配置了一下伪分布式的hadoop环境,执行它自带的mapreduce都出错了,知道你们很厉害,特意问一下。新手并不太会呢,帮看看好不。
有一些节点自己就莫名其妙的死了,我晚上推出集群都不关,第二天在连接ssh,集群自己就关了是为啥
和环境有关吗
[gaojunyu@gaojunyu hadoop-2.6.0]$ bin/hadoop jar /home/gaojunyu/app/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar wordcount /input/wordcount /output/wordcount
16/11/22 09:40:44 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/11/22 09:40:46 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
16/11/22 09:40:47 INFO input.FileInputFormat: Total input paths to process : 1
16/11/22 09:40:47 INFO mapreduce.JobSubmitter: number of splits:1
16/11/22 09:40:48 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1479775086295_0002
16/11/22 09:40:48 INFO impl.YarnClientImpl: Submitted application application_1479775086295_0002
16/11/22 09:40:48 INFO mapreduce.Job: The url to track the job: http://gaojunyu:8088/proxy/application_1479775086295_0002/
16/11/22 09:40:48 INFO mapreduce.Job: Running job: job_1479775086295_0002
16/11/22 09:40:58 INFO mapreduce.Job: Job job_1479775086295_0002 running in uber mode : false
16/11/22 09:40:58 INFO mapreduce.Job: map 0% reduce 0%
16/11/22 09:41:06 INFO mapreduce.Job: Task Id : attempt_1479775086295_0002_m_000000_0, Status : FAILED
Exception from container-launch.
Container id: container_1479775086295_0002_01_000002
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:211)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Container exited with a non-zero exit code 1
16/11/22 09:41:15 INFO mapreduce.Job: map 100% reduce 0%
16/11/22 10:01:15 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/11/22 10:01:16 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/11/22 10:01:17 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/11/22 10:01:18 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/11/22 10:01:19 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
机密信息 :
2016-11-22 10:14:59
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。