You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Juri Yanase Triantaphyllou <ju...@aol.com> on 2016/03/09 20:05:40 UTC

A Mapreduce job failed. Need Help!

Dear Hadoop users:


I followed theinstructions of “Build and Install Hadoop 2.x or newer on Windows” and was ableto build and install Hadoop 2.7.2 on a PC running Windowns10. 
Then, I tried to runa wordcount job on a single node environment, but this mapreduce job failed. Couldsomeone please give me any feedback about my case? Do you have any ideas of whyI am failing?
 
If you needmore information, I would be glad to send you!
Thank youfor your help in advance!
 
--Juri
 
 
Here is somerelevant information:
Yarn nodemanagershows: 
16/03/0815:24:25 INFO localizer.ResourceLocalizationService: Localizer failed
java.lang.NullPointerException
 
Yarnresaucemanager shows:
16/03/0815:24:27 WARN resourcemanager.RMAuditLogger: USER=Van  OPERATION=Application Finished - FailedTARGET=RMAppManager    RESULT=FAILURE  DESCRIPTION=Appfailed with state: FAILED      PERMISSIONS=Application application_1457472180766_0001 failed 2 timesdue to AM Container for appattempt_1457472180766_0001_000002 exited with  exitCode: -1000
For moredetailed output, check application trackingpage:http://Juri:8088/cluster/app/application_1457472180766_0001 Then, click onlinks to logs of each attempt.
 
16/03/0815:24:27 INFO resourcemanager.RMAppManager$ApplicationSummary:appId=application_1457472180766_0001,name=wordcount,user=Van,queue=default,state=FAILED,trackingUrl=http://Juri:8088/cluster/app/application_1457472180766_0001,appMasterHost=N/A,startTime=1457472264161,finishTime=1457472267648,finalStatus=FAILED,memorySeconds=3991,vcoreSeconds=1,preemptedAMContainers=0,preemptedNonAMContainers=0,preemptedResources=<memory:0\,vCores:0>,applicationType=MAPREDUCE
16/03/0815:24:29 INFO ipc.Server: Socket Reader #1 for port 8032: readAndProcess fromclient 192.168.1.72 threw exception [java.io.IOException: An existingconnection was forcibly closed by the remote host]
java.io.IOException:An existing connection was forcibly closed by the remote host
 
Hadoopnamenode shows:
16/03/08  15:24:29 INFO ipc.Server: Socket Reader #1 forport 9000: readAndProcess from client 127.0.0.1 threw exception[java.io.IOException: An existing connection was forcibly closed by the remotehost]
java.io.IOException:An existing connection was forcibly closed by the remote host
 
The log messageshows:
Failedredirect for container_1457472180766_0001_02_000001
Failed whiletrying to construct the redirect url to the log server. Log Server url may notbe configured
java.lang.Exception:Unknown container. Container either has not started or has already completed ordoesn't belong to this node at all.