The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

MapReduce Forum

Cannot run M/R job in standalone mode

  • #55422
    Jakub Stransky
    Participant

    Hello,

    I am facing issues with running M/R job in stand alone mode for hadoop 2.2.0 (HDP 2.0) I am getting following error:
    14/06/04 13:55:04 INFO mapreduce.Job: The url to track the job: http://hadooptools:8088/proxy/application_1401791587704_0007/
    14/06/04 13:55:04 INFO mapreduce.Job: Running job: job_1401791587704_0007
    14/06/04 13:55:08 INFO mapreduce.Job: Job job_1401791587704_0007 running in uber mode : false
    14/06/04 13:55:08 INFO mapreduce.Job: map 0% reduce 0%
    14/06/04 13:55:08 INFO mapreduce.Job: Job job_1401791587704_0007 failed with state FAILED due to: Application application_1401791587704_0007 failed 2 times due to AM Container for appattempt_1401791587704_0007_000002 exited with exitCode: -1000 due to: File file:/user/hdfs/.staging/job_1401791587704_0007/job.jar does not exist
    .Failing this attempt.. Failing the application.
    14/06/04 13:55:08 INFO mapreduce.Job: Counters: 0
    Exception in thread “main” java.io.IOException: Job failed!
    at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:836)
    at com.ncr.bigdata.mr.MaxTemperatureDriver.run(MaxTemperatureDriver.java:46)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
    at com.ncr.bigdata.mr.MaxTemperatureDriver.main(MaxTemperatureDriver.java:54)
    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:212)

    BUT

    bash-4.1$ ls -al /user/hdfs/.staging/job_1401791587704_0007/
    total 108
    drwx——. 2 hdfs hadoop 4096 Jun 4 13:55 .
    drwx——. 6 hdfs hadoop 4096 Jun 4 13:55 ..
    -rw-r–r–. 1 hdfs hadoop 7767 Jun 4 13:55 job.jar
    -rw-r–r–. 1 hdfs hadoop 72 Jun 4 13:55 .job.jar.crc
    -rw-r–r–. 1 hdfs hadoop 157 Jun 4 13:55 job.split
    -rw-r–r–. 1 hdfs hadoop 12 Jun 4 13:55 .job.split.crc
    -rw-r–r–. 1 hdfs hadoop 42 Jun 4 13:55 job.splitmetainfo
    -rw-r–r–. 1 hdfs hadoop 12 Jun 4 13:55 .job.splitmetainfo.crc
    -rw-r–r–. 1 hdfs hadoop 67865 Jun 4 13:55 job.xml
    -rw-r–r–. 1 hdfs hadoop 540 Jun 4 13:55 .job.xml.crc
    bash-4.1$ whoami
    hdfs

    Does anybody experienced the same or have clue what might be wrong?

    <property>
    <name>fs.default.name</name>
    <value>file:///</value>
    </property>
    <property>
    <name>mapred.job.tracker</name>
    <value>local</value>
    </property>

  • Author
    Replies
  • #56825
    J Mishra
    Participant

    Seeing the same issue with giraph 1.1.0 job being submitted to Hadoop Yarn 2.3.0.
    Application application_1404262477145_0003 failed 2 times due to AM Container for appattempt_1404262477145_0003_000002 exited with exitCode: -1000 due to: File file:/tmp/hadoop-yarn/staging/root/.staging/job_1404262477145_0003/job.jar does not exist
    .Failing this attempt.. Failing the application.
    Any updates here?

The forum ‘MapReduce’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.