Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 838F6892B for ; Tue, 13 Sep 2011 19:33:35 +0000 (UTC) Received: (qmail 96307 invoked by uid 500); 13 Sep 2011 19:33:33 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 96123 invoked by uid 500); 13 Sep 2011 19:33:31 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 95830 invoked by uid 99); 13 Sep 2011 19:33:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 19:33:30 +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 19:33:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DF377968E1 for ; Tue, 13 Sep 2011 19:33:08 +0000 (UTC) Date: Tue, 13 Sep 2011 19:33:08 +0000 (UTC) From: "Ramya Sunil (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1913565767.23591.1315942388911.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 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