You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2013/09/24 09:53:02 UTC

[jira] [Commented] (MAHOUT-1340) Make LuceneSegment* tests work with both Hadoop 1 and 2

    [ https://issues.apache.org/jira/browse/MAHOUT-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776088#comment-13776088 ] 

Sean Owen commented on MAHOUT-1340:
-----------------------------------

Yep that's a good one. It passes versus 1.x, so can only help versus 2.x. :) I will commit unless anyone can see a reason not to. It's just a fix to a test after all.
                
> Make LuceneSegment* tests work with both Hadoop 1 and 2
> -------------------------------------------------------
>
>                 Key: MAHOUT-1340
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1340
>             Project: Mahout
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 0.8
>            Reporter: Mike Percy
>             Fix For: 0.9
>
>         Attachments: MAHOUT-1340.patch
>
>
> Hadoop changed a few classes to interfaces between Hadoop 1 and Hadoop 2. A couple of these classes are used in the LuceneSegment unit tests. A little bit of simple reflection abstracts these differences away and makes these tests pass under both Hadoop 1 and Hadoop 2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira