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-5065) setOutputFormatClass in mapreduce.Job fails for SequenceFileOutputFormat
Date Fri, 16 Jan 2009 05:02:59 GMT

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

Chris Douglas updated HADOOP-5065:
----------------------------------

    Status: Patch Available  (was: Open)

> setOutputFormatClass in mapreduce.Job fails for SequenceFileOutputFormat
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-5065
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5065
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>         Attachments: 5065-0.patch
>
>
> {noformat}
>     [javac] /.../snip.java:201: setOutputFormatClass(java.lang.Class<? extends org.apache.hadoop.mapreduce.OutputFormat<?,?>>)
in \
>         org.apache.hadoop.mapreduce.Job cannot be applied to (java.lang.Class<org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat>)
>     [javac]     job.setOutputFormatClass(SequenceFileOutputFormat.class);
>     [javac]        ^
> {noformat}
> The signatures for get\{Input,Output\}FormatClass are probably too restrictive:
> {code}
>   public void setOutputFormatClass(Class<? extends OutputFormat<?,?>> cls)
throws IllegalStateException
> {code}

-- 
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