hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-1820) I can not run mapreduce!!
Date Tue, 11 Mar 2014 14:01:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Lowe resolved YARN-1820.
------------------------------

    Resolution: Invalid

Please use [mailto:user@hadoop.apache.org] to ask for help with getting a cluster configured
to run MapReduce.  Apache JIRA is for reporting bugs and tracking features/improvements.

In this particular case it appears the ApplicationMaster is crashing shortly after startup.
 Check the tracking URL, http://bigdata1:8088/proxy/application_1394435601283_0011/, to see
if there are AM logs or diagnostic messages that would help point to the problem.  You could
also look into the ResourceManager or NodeManager logs for clues as to what happened to the
ApplicationMaster.

> I can not run mapreduce!!
> -------------------------
>
>                 Key: YARN-1820
>                 URL: https://issues.apache.org/jira/browse/YARN-1820
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: resourcemanager
>    Affects Versions: 2.2.0
>         Environment: ubuntu 12.04 64-bit
>            Reporter: huangxing
>            Priority: Minor
>
> When I run the mapreduce example ,some error occurs,I don't known what  produce it,someone
give me an idea? My resourcemanager and the nodemangers all work well.
> [bigdata1 /hadoop/hadoop-2.0.0-cdh4.5.0/share/hadoop/mapreduce]#hadoop jar ./hadoop-mapreduce-examples-2.0.0-cdh4.5.0.jar
 grep  /input /output 'dfs[a-z.]+'
> 14/03/10 19:02:34 INFO service.AbstractService: Service:smileysurprised:rg.apache.hadoop.yarn.client.YarnClientImpl
is inited.
> 14/03/10 19:02:34 INFO service.AbstractService: Service:smileysurprised:rg.apache.hadoop.yarn.client.YarnClientImpl
is started.
> 14/03/10 19:02:34 WARN mapreduce.JobSubmitter: No job jar file set.  User classes may
not be found. See Job or Job#setJar(String).
> 14/03/10 19:02:34 INFO input.FileInputFormat: Total input paths to process : 7
> 14/03/10 19:02:35 INFO mapreduce.JobSubmitter: number of splits:7
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.output.value.class is deprecated. Instead,
use mapreduce.job.output.value.class
> 14/03/10 19:02:35 WARN conf.Configuration: mapreduce.combine.class is deprecated. Instead,
use mapreduce.job.combine.class
> 14/03/10 19:02:35 WARN conf.Configuration: mapreduce.map.class is deprecated. Instead,
use mapreduce.job.map.class
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.job.name is deprecated. Instead, use
mapreduce.job.name
> 14/03/10 19:02:35 WARN conf.Configuration: mapreduce.reduce.class is deprecated. Instead,
use mapreduce.job.reduce.class
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.input.dir is deprecated. Instead, use
mapreduce.input.fileinputformat.inputdir
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.output.dir is deprecated. Instead,
use mapreduce.output.fileoutputformat.outputdir
> 14/03/10 19:02:35 WARN conf.Configuration: mapreduce.outputformat.class is deprecated.
Instead, use mapreduce.job.outputformat.class
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.map.tasks is deprecated. Instead, use
mapreduce.job.maps
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.output.key.class is deprecated. Instead,
use mapreduce.job.output.key.class
> 14/03/10 19:02:35 WARN conf.Configuration: mapred.working.dir is deprecated. Instead,
use mapreduce.job.working.dir
> 14/03/10 19:02:35 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1394435601283_0011
> 14/03/10 19:02:35 INFO mapred.YARNRunner: Job jar is not present. Not adding any jar
to the list of resources.
> 14/03/10 19:02:35 INFO client.YarnClientImpl: Submitted application application_1394435601283_0011
to ResourceManager at bigdata1/192.168.65.66:8032
> 14/03/10 19:02:35 INFO mapreduce.Job: The url to track the job: http://bigdata1:8088/proxy/application_1394435601283_0011/
> 14/03/10 19:02:35 INFO mapreduce.Job: Running job: job_1394435601283_0011
> 14/03/10 19:02:41 INFO mapreduce.Job: Job job_1394435601283_0011 running in uber mode
: false
> 14/03/10 19:02:41 INFO mapreduce.Job:  map 0% reduce 0%
> 14/03/10 19:02:41 INFO mapreduce.Job: Job job_1394435601283_0011 failed with state FAILED
due to: Application application_1394435601283_0011 failed 1 times due to AM Container for
appattempt_1394435601283_0011_000001 exited with  exitCode: 1 due to: 
> .Failing this attempt.. Failing the application.
> 14/03/10 19:02:41 INFO mapreduce.Job: Counters: 0
> 14/03/10 19:02:41 INFO service.AbstractService: Service:smileysurprised:rg.apache.hadoop.yarn.client.YarnClientImpl
is inited.
> 14/03/10 19:02:41 INFO service.AbstractService: Service:smileysurprised:rg.apache.hadoop.yarn.client.YarnClientImpl
is started.
> 14/03/10 19:02:42 WARN mapreduce.JobSubmitter: No job jar file set.  User classes may
not be found. See Job or Job#setJar(String).
> 14/03/10 19:02:42 INFO mapreduce.JobSubmitter: Cleaning up the staging area /user/root/.staging/job_1394435601283_0012
> 14/03/10 19:02:42 ERROR security.UserGroupInformation: PriviledgedActionException as:root
(auth:smileyfrustrated:IMPLE) cause:smileysurprised:rg.apache.hadoop.mapreduce.lib.input.InvalidInputException:
Input path does not exist: hdfs://bigdata1:8020/user/root/grep-temp-1811237380
> org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist:
hdfs://bigdata1:8020/user/root/grep-temp-1811237380
> at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:243)
> at org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat.listStatus(SequenceFileInputFormat.java:59)
> at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:269)
> at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:468)
> at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:485)
> at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:369)
> at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1269)
> at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1266)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
> at org.apache.hadoop.mapreduce.Job.submit(Job.java:1266)
> at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1287)
> at org.apache.hadoop.examples.Grep.run(Grep.java:92)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.examples.Grep.main(Grep.java:101)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
> at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
> at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
> [bigdata1 /hadoop/hadoop-2.0.0-cdh4.5.0/share/hadoop/mapreduce]#



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message