Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 16886 invoked from network); 9 Nov 2009 04:32:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Nov 2009 04:32:58 -0000 Received: (qmail 91795 invoked by uid 500); 9 Nov 2009 04:32:58 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 91725 invoked by uid 500); 9 Nov 2009 04:32:57 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 91715 invoked by uid 99); 9 Nov 2009 04:32:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 04:32:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 04:32:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C50A5234C045 for ; Sun, 8 Nov 2009 20:32:33 -0800 (PST) Message-ID: <176074454.1257741153534.JavaMail.jira@brutus> Date: Mon, 9 Nov 2009 04:32:33 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1068) In hadoop-0.20.0 streaming job do not throw proper verbose error message if file is not present In-Reply-To: <1046591119.1254827371284.JavaMail.jira@brutus> 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/MAPREDUCE-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774853#action_12774853 ] Amareshwari Sriramadasu commented on MAPREDUCE-1068: ---------------------------------------------------- bq. -1 contrib tests. Is due to MAPREDUCE-1124 > In hadoop-0.20.0 streaming job do not throw proper verbose error message if file is not present > ----------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1068 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1068 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/streaming > Affects Versions: 0.20.1 > Reporter: Peeyush Bishnoi > Assignee: Amareshwari Sriramadasu > Fix For: 0.20.1, 0.20.2, 0.21.0, 0.22.0 > > Attachments: patch-1068-1.txt, patch-1068.txt > > > With hadoop-0.20.0 proper error message is not thrown , when streaming job is submitted and if file is not present to be distributed with "-file" option. But with hadoop-0.18.* proper verbose message is thrown if file is not present and it is easy for the users to debug. > For example: > With hadoop-0.20.0: > $ hadoop jar $HADOOP_HOME/hadoop-streaming.jar -Dmapred.job.queue.name=general -input /user/simon/test1.txt -output /user/simon/test.out -mapper "/bin/cat" -file dummy -reducer "/bin/cat" > Streaming Job Failed! > With hadoop-0.18.*: > $ hadoop jar $HADOOP_HOME/hadoop-streaming.jar -input /user/simon/test1.txt -output /user/simon/test.out -mapper "/bin/cat" -file dummy -reducer "/bin/cat" > 09/10/06 10:06:49 ERROR streaming.StreamJob: Unexpected value "Argument : /home/simon/dummy doesn't exist." found while processing -file > --- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.