Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E435C8859 for ; Tue, 13 Sep 2011 21:37:32 +0000 (UTC) Received: (qmail 66233 invoked by uid 500); 13 Sep 2011 21:37:32 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 66192 invoked by uid 500); 13 Sep 2011 21:37:32 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 66183 invoked by uid 99); 13 Sep 2011 21:37:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 21:37:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 21:37:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E21CD97087 for ; Tue, 13 Sep 2011 21:37:08 +0000 (UTC) Date: Tue, 13 Sep 2011 21:37:08 +0000 (UTC) From: "Matt Foley (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1275847483.24213.1315949828923.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1297778157.23590.1315942388853.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7631) In mapred-site.xml, stream.tmpdir is mapped to ${mapred.temp.dir} which is undeclared. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104013#comment-13104013 ] Matt Foley commented on HADOOP-7631: ------------------------------------ +1 for trunk and branch. Release audit results are unavailable currently, but unlikely to be due to this patch. > 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 > Assignee: Eric Yang > Attachments: HADOOP-7631-trunk.patch, HADOOP-7631.patch > > > 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