Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1340

Make LuceneSegment* tests work with both Hadoop 1 and 2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • classic
    • None

    Description

      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.

      Attachments

        1. MAHOUT-1340.patch
          4 kB
          Mike Percy

        Activity

          People

            smarthi Suneel Marthi
            mpercy Mike Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: