hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3705) CompositeInputFormat is unable to parse InputFormat classes with names containing '_' or '$'
Date Tue, 26 Aug 2008 05:13:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Douglas updated HADOOP-3705:
----------------------------------

      Resolution: Fixed
        Assignee: Chris Douglas
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this.

> 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
>            Assignee: Chris Douglas
>             Fix For: 0.19.0
>
>         Attachments: 3705-0.patch, 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.


Mime
View raw message