Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 142E39B9F for ; Wed, 21 Sep 2011 14:54:41 +0000 (UTC) Received: (qmail 87822 invoked by uid 500); 21 Sep 2011 14:54:41 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 87738 invoked by uid 500); 21 Sep 2011 14:54:40 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 87730 invoked by uid 99); 21 Sep 2011 14:54:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 14:54:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tanjun_2525@163.com designates 220.181.13.107 as permitted sender) Received: from [220.181.13.107] (HELO m13-107.163.com) (220.181.13.107) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 14:54:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Message-ID:Subject: MIME-Version:Content-Type; bh=9H5oVbUmZV+HNUvrSDJ8jNfa+VatfgL0Ft 0ZE4EDiZg=; b=BWum/qta032YbgK1QDatXVYuuLX2dJDTfD6qnuN4Cs+IxsVVMS ITRic4xagEZDOUA6T8YJ4ED8I1G76ytHu6qTfHcD47I463ihQVLf3S6pQfET6RjT fWTPVwCyeOiqYj+ejO8Yqh4AZuVmKMhIqibgXrXzE68tT3zE0s+/dmVpY= Received: from tanjun_2525 ( [58.198.81.36] ) by ajax-webmail-wmsvr107 (Coremail) ; Wed, 21 Sep 2011 22:54:10 +0800 (CST) Date: Wed, 21 Sep 2011 22:54:10 +0800 (CST) From: =?GBK?B?zLe+/A==?= To: mapreduce Message-ID: Subject: How do I set the intermediate output path when I use 2 mapreduce jobs? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_181094_1206906459.1316616850926" X-Originating-IP: [58.198.81.36] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 110829(14649.4006.3992) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-CTRLDATA: jD+xgGZvb3Rlcl9odG09NjkyOjgx X-CM-TRANSID: a8GowEDpEEOT+nlOPzUbAA--.12636W X-CM-SenderInfo: xwdqy3lqbskjqv6rljoofrz/xtbBohbBzU4dXu42XQABsx X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== ------=_Part_181094_1206906459.1316616850926 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi, I want to use 2 MR jobs sequentially. And the first job produces intermediate result to a temp file. The second job reads the result in temp file but not the FileInputPath. I tried, but FileNotFoundException reported. Then I checked the datanodes, temp file was created. The first job was executed correctly. Why the second job cannot find the file? The file was created before the second job was executed. Thanks! -- Regards! Jun Tan ------=_Part_181094_1206906459.1316616850926 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit
Hi,
I want to use 2 MR jobs sequentially.
And the first job produces intermediate result to a temp file.
The second job reads the result in temp file but not the FileInputPath.
I tried, but FileNotFoundException reported.
Then I checked the datanodes, temp file was created.
The first job was executed correctly.
Why the second job cannot find the file? The file was created before the second job was executed.
Thanks!

--

Regards!

Jun Tan



------=_Part_181094_1206906459.1316616850926--