hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya Sunil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7631) In mapred-site.xml, stream.tmpdir is mapped to ${mapred.temp.dir} which is undeclared.
Date Tue, 13 Sep 2011 19:33:08 GMT
In mapred-site.xml, stream.tmpdir is mapped to ${mapred.temp.dir} which is undeclared.
--------------------------------------------------------------------------------------

                 Key: HADOOP-7631
                 URL: https://issues.apache.org/jira/browse/HADOOP-7631
             Project: Hadoop Common
          Issue Type: Bug
          Components: conf
    Affects Versions: 0.20.205.0
            Reporter: Ramya Sunil


Streaming jobs seem to fail with the following exception:

{noformat}
Exception in thread "main" java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1704)
        at java.io.File.createTempFile(File.java:1792)
        at org.apache.hadoop.streaming.StreamJob.packageJobJar(StreamJob.java:603)
        at org.apache.hadoop.streaming.StreamJob.setJobConf(StreamJob.java:798)
        at org.apache.hadoop.streaming.StreamJob.run(StreamJob.java:117)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.streaming.HadoopStreaming.main(HadoopStreaming.java:32)
        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:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
{noformat}

Eric pointed out that in RPM based installs, in /etc/hadoop/mapred-site.xml, stream.tmpdir
is mapped to ${mapred.temp.dir}, but ${mapred.temp.dir} is not declared

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message