You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2007/01/13 02:47:27 UTC

[jira] Created: (HADOOP-891) job.jar, job.xml not deleted when JobClient submitJob method fail with exception

job.jar, job.xml not deleted when JobClient submitJob method  fail with exception 
----------------------------------------------------------------------------------

                 Key: HADOOP-891
                 URL: https://issues.apache.org/jira/browse/HADOOP-891
             Project: Hadoop
          Issue Type: Bug
          Components: mapred
            Reporter: Koji Noguchi
            Priority: Minor


If mapred.system.dir is set to /hadoop/mapred/system, 

$ hadoop dfs -lsr /hadoop
/hadoop/mapred  <dir>
/hadoop/mapred/system   <dir>
$ 

$ hadoop jar hadoop-examples.jar wordcount  invaliddirectoryname  output
org.apache.hadoop.mapred.InvalidInputException: Input path doesnt exist : /user/_____/invaliddirectoryname
        at org.apache.hadoop.mapred.InputFormatBase.validateInput(InputFormatBase.java:138)
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:316)
        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:371)
        at org.apache.hadoop.examples.WordCount.main(WordCount.java:143)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:143)
        at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:155)

$ hadoop dfs -lsr /hadoop
/hadoop/mapred  <dir>
/hadoop/mapred/system   <dir>
/hadoop/mapred/system/submit_gpw022     <dir>
/hadoop/mapred/system/submit_gpw022/job.jar     <r 10>  19397

$ ls -l hadoop-examples.jar
-rw-r--r--  1 _____ _____ 19397  hadoop-examples.jar


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira