Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-39

DocID's are not assigned correctly during the reduce step of MapReduce Indexing.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: .indexing, .structures
    • Labels:
      None

      Description

      There is a bad assumption that splits will be allocated to maps in order, i.e that split 1 will be given to Map1 etc.

      Fix: Sort the MapData files by start DocID and when assigning these to reduces use this ordering.

        Attachments

        1. patch.txt
          31 kB
        2. TR-34.branch2x.v4.patch
          31 kB
        3. TREC-34.v3.patch
          27 kB
        4. TREC-34.v4.patch
          34 kB

          Activity

          richardm Richard McCreadie created issue -
          richardm Richard McCreadie made changes -
          Field Original Value New Value
          Attachment BasicSinglePassIndexer.java [ 10101 ]
          Attachment CollectionRecordReader.java [ 10102 ]
          Attachment FileCollectionRecordReader.java [ 10103 ]
          richardm Richard McCreadie made changes -
          Attachment HadoopRunsMerger.java [ 10104 ]
          Attachment MapData.java [ 10105 ]
          Attachment MultiFileCollectionInputFormat.java [ 10106 ]
          richardm Richard McCreadie made changes -
          Attachment PositionAwareDocument.java [ 10107 ]
          Attachment PositionAwareSplit.java [ 10108 ]
          richardm Richard McCreadie made changes -
          Attachment BasicSinglePassIndexer.java [ 10101 ]
          richardm Richard McCreadie made changes -
          Attachment CollectionRecordReader.java [ 10102 ]
          richardm Richard McCreadie made changes -
          Attachment FileCollectionRecordReader.java [ 10103 ]
          richardm Richard McCreadie made changes -
          Attachment HadoopRunsMerger.java [ 10104 ]
          richardm Richard McCreadie made changes -
          Attachment MapData.java [ 10105 ]
          richardm Richard McCreadie made changes -
          Attachment MultiFileCollectionInputFormat.java [ 10106 ]
          richardm Richard McCreadie made changes -
          Attachment PositionAwareDocument.java [ 10107 ]
          richardm Richard McCreadie made changes -
          Attachment PositionAwareSplit.java [ 10108 ]
          richardm Richard McCreadie made changes -
          Attachment patch.txt [ 10114 ]
          richardm Richard McCreadie made changes -
          Attachment patchv2.txt [ 10115 ]
          richardm Richard McCreadie made changes -
          Priority Critical [ 2 ] Minor [ 4 ]
          richardm Richard McCreadie made changes -
          Attachment patch.txt [ 10114 ]
          richardm Richard McCreadie made changes -
          Attachment patchv2.txt [ 10115 ]
          richardm Richard McCreadie made changes -
          Status Open [ 1 ] Patch Available [ 10000 ]
          richardm Richard McCreadie made changes -
          Status Patch Available [ 10000 ] Open [ 1 ]
          richardm Richard McCreadie made changes -
          Attachment patchv2.txt [ 10117 ]
          richardm Richard McCreadie made changes -
          Attachment patchv2.txt [ 10117 ]
          richardm Richard McCreadie made changes -
          Attachment patchv3.txt [ 10118 ]
          craigm Craig Macdonald made changes -
          Project Terrier Core [ 10000 ] TREC [ 10010 ]
          Key TR-29 TREC-34
          Workflow Terrier Open Source [ 10100 ] jira [ 10103 ]
          Affects Version/s 2.2.1 [ 10010 ]
          Component/s .indexing [ 10002 ]
          craigm Craig Macdonald made changes -
          Component/s Core [ 10020 ]
          richardm Richard McCreadie made changes -
          Attachment MergerPatch.txt [ 10125 ]
          richardm Richard McCreadie made changes -
          Attachment MergerPatch.txt [ 10125 ]
          richardm Richard McCreadie made changes -
          Attachment MergerPatch.txt [ 10126 ]
          richardm Richard McCreadie made changes -
          Attachment MergerPatch.txt [ 10126 ]
          richardm Richard McCreadie made changes -
          Attachment patchv3.txt [ 10118 ]
          richardm Richard McCreadie made changes -
          Attachment patch.txt [ 10128 ]
          craigm Craig Macdonald made changes -
          Attachment TREC-34.v3.patch [ 10129 ]
          craigm Craig Macdonald made changes -
          Attachment TREC-34.v4.patch [ 10130 ]
          craigm Craig Macdonald made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          craigm Craig Macdonald made changes -
          Attachment TR-34.branch2x.v4.patch [ 10131 ]
          craigm Craig Macdonald made changes -
          Affects Version/s 3.0 [ 10020 ]
          Fix Version/s 3.0 [ 10020 ]
          craigm Craig Macdonald made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-34 TR-39
          Workflow jira [ 10103 ] Terrier Open Source [ 10297 ]
          Affects Version/s 3.0 [ 10030 ]
          Affects Version/s 3.0 [ 10020 ]
          Component/s .indexing [ 10002 ]
          Component/s .structures [ 10007 ]
          Component/s Core [ 10020 ]
          Fix Version/s 3.0 [ 10030 ]
          Fix Version/s 3.0 [ 10020 ]

            People

            • Assignee:
              richardm Richard McCreadie
              Reporter:
              richardm Richard McCreadie
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: