分享

3个节点集群搭建好后,浏览器查看没有问题,但是执行mapreduce示例程序时报错,求指点

小头针 发表于 2015-12-14 21:21:17 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 0 12046
3个节点集群搭建好后,浏览器查看没有问题,但是执行mapreduce示例程序时报错,求指点:
下面是部分报错日志
2015-12-10 14:46:57,801 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: Updating application attempt appattempt_1449728794696_0002_000002 with final state: FAILED, and exit status: -1000
2015-12-10 14:46:57,801 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1449728794696_0002_000002 State change from ALLOCATED to FINAL_SAVING
2015-12-10 14:46:57,802 INFO org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService: Unregistering app attempt : appattempt_1449728794696_0002_000002
2015-12-10 14:46:57,802 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1449728794696_0002_000002 State change from FINAL_SAVING to FAILED
2015-12-10 14:46:57,803 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: Updating application application_1449728794696_0002 with final state: FAILED
2015-12-10 14:46:57,803 INFO org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore: Updating info for app: application_1449728794696_0002
2015-12-10 14:46:57,804 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: application_1449728794696_0002 State change from ACCEPTED to FINAL_SAVING
2015-12-10 14:46:57,804 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler: Application Attempt appattempt_1449728794696_0002_000002 is done. finalState=FAILED
2015-12-10 14:46:57,804 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_1449728794696_0002_02_000001 Container Transitioned from ACQUIRED to KILLED
2015-12-10 14:46:57,805 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica.FiCaSchedulerApp: Completed container: container_1449728794696_0002_02_000001 in state: KILLED event:KILL
2015-12-10 14:46:57,805 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=root    OPERATION=AM Released Container    TARGET=SchedulerApp    RESULT=SUCCESS    APPID=application_1449728794696_0002    CONTAINERID=container_1449728794696_0002_02_000001
2015-12-10 14:46:57,805 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerNode: Released container container_1449728794696_0002_02_000001 of capacity <memory:2048, vCores:1> on host slave2:38178, which currently has 0 containers, <memory:0, vCores:0> used and <memory:8192, vCores:8> available, release resources=true
2015-12-10 14:46:57,805 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue: default used=<memory:0, vCores:0> numContainers=0 user=root user-resources=<memory:0, vCores:0>
2015-12-10 14:46:57,806 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue: completedContainer container=Container: [ContainerId: container_1449728794696_0002_02_000001, NodeId: slave2:38178, NodeHttpAddress: slave2:8042, Resource: <memory:2048, vCores:1>, Priority: 0, Token: Token { kind: ContainerToken, service: 192.168.179.132:38178 }, ] queue=default: capacity=1.0, absoluteCapacity=1.0, usedResources=<memory:0, vCores:0>, usedCapacity=0.0, absoluteUsedCapacity=0.0, numApps=1, numContainers=0 cluster=<memory:16384, vCores:16>
2015-12-10 14:46:57,806 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue: completedContainer queue=root usedCapacity=0.0 absoluteUsedCapacity=0.0 used=<memory:0, vCores:0> cluster=<memory:16384, vCores:16>
2015-12-10 14:46:57,806 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue: Re-sorting completed queue: root.default stats: default: capacity=1.0, absoluteCapacity=1.0, usedResources=<memory:0, vCores:0>, usedCapacity=0.0, absoluteUsedCapacity=0.0, numApps=1, numContainers=0
2015-12-10 14:46:57,806 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler: Application attempt appattempt_1449728794696_0002_000002 released container container_1449728794696_0002_02_000001 on node: host: slave2:38178 #containers=0 available=8192 used=0 with event: KILL
2015-12-10 14:46:57,806 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: Application application_1449728794696_0002 failed 2 times due to Error launching appattempt_1449728794696_0002_000002. Got exception: org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container.
This token is expired. current time is 1450097708574 found 1449730616554
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:168)
    at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
    at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:122)
    at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:249)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
. Failing the application.
2015-12-10 14:46:57,807 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: application_1449728794696_0002 State change from FINAL_SAVING to FAILED
2015-12-10 14:46:57,807 WARN org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=root    OPERATION=Application Finished - Failed    TARGET=RMAppManager    RESULT=FAILURE    DESCRIPTION=App failed with state: FAILED    PERMISSIONS=Application application_1449728794696_0002 failed 2 times due to Error launching appattempt_1449728794696_0002_000002. Got exception: org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container.
This token is expired. current time is 1450097708574 found 1449730616554
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:168)
    at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
    at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:122)
    at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:249)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
. Failing the application.    APPID=application_1449728794696_0002
2015-12-10 14:46:57,808 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAppManager$ApplicationSummary: appId=application_1449728794696_0002,name=QuasiMonteCarlo,user=root,queue=default,state=FAILED,trackingUrl=http://master:18088/cluster/app/application_1449728794696_0002,appMasterHost=N/A,startTime=1449730015871,finishTime=1449730017803,finalStatus=FAILED
2015-12-10 14:46:57,808 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.AppSchedulingInfo: Application application_1449728794696_0002 requests cleared
2015-12-10 14:46:57,810 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue: Application removed - appId: application_1449728794696_0002 user: root queue: default #user-pending-applications: 0 #user-active-applications: 0 #queue-pending-applications: 0 #queue-active-applications: 0
2015-12-10 14:46:57,810 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue: Application removed - appId: application_1449728794696_0002 user: root leaf-queue of parent: root #applications: 0



没找到任何评论,期待你打破沉寂

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条