Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2082

TableInputFormat is ignoring input scan's stop row setting

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.2
    • Fix Version/s: 0.20.3, 0.90.0
    • Component/s: mapreduce
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In the getSplits() function of TableInputFormatBase, there is a line to compare the region's stop key and the given scan's stop key.

      If the region's stop key is smaller, then use the region's stop key instead of the one given by user.

      But the last region will not have a stop key, so comparing a null key to the given stop key is always smaller, and the user's stop key is simply ignored.

        Attachments

        1. HBASE-2082.patch
          0.8 kB
          Scott Wang

          Activity

            People

            • Assignee:
              lunastorm Scott Wang
              Reporter:
              lunastorm Scott Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: