Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 58044 invoked from network); 25 Aug 2008 04:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Aug 2008 04:54:03 -0000 Received: (qmail 51521 invoked by uid 500); 25 Aug 2008 04:53:55 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 51486 invoked by uid 500); 25 Aug 2008 04:53:55 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 51475 invoked by uid 99); 25 Aug 2008 04:53:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 21:53:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.142.186] (HELO ti-out-0910.google.com) (209.85.142.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 04:52:55 +0000 Received: by ti-out-0910.google.com with SMTP id d27so944998tid.9 for ; Sun, 24 Aug 2008 21:53:22 -0700 (PDT) Received: by 10.110.7.18 with SMTP id 18mr4520330tig.39.1219640001892; Sun, 24 Aug 2008 21:53:21 -0700 (PDT) Received: by 10.110.62.6 with HTTP; Sun, 24 Aug 2008 21:53:21 -0700 (PDT) Message-ID: Date: Mon, 25 Aug 2008 13:53:21 +0900 From: "Edward J. Yoon" Sender: edward@udanax.org To: core-dev@hadoop.apache.org Subject: Re: [jira] Updated: (HADOOP-3705) CompositeInputFormat is unable to parse InputFormat classes with names containing '_' or '$' In-Reply-To: <1265725078.1219632464684.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87815696.1215441451692.JavaMail.jira@brutus> <1265725078.1219632464684.JavaMail.jira@brutus> X-Google-Sender-Auth: de79553c57e69a93 X-Virus-Checked: Checked by ClamAV on apache.org If you can add some tests, that'd be great. -Ed On Mon, Aug 25, 2008 at 11:47 AM, Chris Douglas (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/HADOOP-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Chris Douglas updated HADOOP-3705: > ---------------------------------- > > Fix Version/s: 0.19.0 > Status: Patch Available (was: Open) > >> CompositeInputFormat is unable to parse InputFormat classes with names containing '_' or '$' >> -------------------------------------------------------------------------------------------- >> >> Key: HADOOP-3705 >> URL: https://issues.apache.org/jira/browse/HADOOP-3705 >> Project: Hadoop Core >> Issue Type: Bug >> Components: mapred >> Affects Versions: 0.17.0 >> Reporter: Jingkei Ly >> Fix For: 0.19.0 >> >> Attachments: HADOOP-3705.patch >> >> >> If I try to set "mapred.join.expr" with my own InputFormat class that contains a '_' character (or if my InputFormat class is a static inner class), I get the following exception thrown when I run my MapReduce job: >> Exception in thread "main" java.io.IOException: Unexpected: 95 >> at org.apache.hadoop.mapred.join.Parser$Lexer.next(Parser.java:161) >> at org.apache.hadoop.mapred.join.Parser.parse(Parser.java:479) >> at org.apache.hadoop.mapred.join.CompositeInputFormat.setFormat(CompositeInputFormat.java:77) >> at org.apache.hadoop.mapred.join.CompositeInputFormat.validateInput(CompositeInputFormat.java:118) >> at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:705) >> at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:973) >> If the class contains '$' the exception reads Unexpected: 95. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > -- Best regards, Edward J. Yoon edwardyoon@apache.org http://blog.udanax.org