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

Variable never assigned in SimpleTotalOrderPartitioner.getPartition()

    XMLWordPrintableJSON

    Details

      Description

      See https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SimpleTotalOrderPartitioner.java#L104, which has an if statement that tries to limit the code to run only once, but since it does not assign this.lastReduces it will always trigger and recompute the splits (and log them).

        Attachments

          Activity

            People

            • Assignee:
              Bhupendra Bhupendra Kumar Jain
              Reporter:
              larsgeorge Lars George
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: