nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (NUTCH-380) Nutch does not run/build against Hadoop 0.6
Date Thu, 05 Oct 2006 22:35:20 GMT
     [ http://issues.apache.org/jira/browse/NUTCH-380?page=all ]

Jim Kellerman updated NUTCH-380:
--------------------------------

    Attachment: patch.txt

Patch to fix this problem. This will work with either Hadoop 0.5 or Hadoop 0.6

> Nutch does not run/build against Hadoop 0.6
> -------------------------------------------
>
>                 Key: NUTCH-380
>                 URL: http://issues.apache.org/jira/browse/NUTCH-380
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 0.9.0, 0.8.1, 0.8.2
>         Environment: Hadoop-0.6.2
>            Reporter: Jim Kellerman
>         Attachments: patch.txt
>
>
> org.apache.nutch.indexer.DeleteDuplicates fails to build against Hadoop-0.6.2
> Specifically, the interface org.apache.hadoop.mapred.RecordReader has two new methods:
> WritableComparable createKey();
> Writable createValue();
> Which are not implemented by the anonymous inner class declared starting on line 155
of DeleteDuplicates.java 438670:
> 149:    public RecordReader getRecordReader(final FileSystem fs,
> 150:                                        final FileSplit split,
> 151:                                        final JobConf job,
> 152:                                        Reporter reporter) throws IOException {
> 153:      final UTF8 index = new UTF8(split.getPath().toString());
> 154:      reporter.setStatus(index.toString());
> 155:      return new RecordReader() {

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message