hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13978) Variable never assigned in SimpleTotalOrderPartitioner.getPartition()
Date Fri, 26 Jun 2015 20:27:04 GMT
Lars George created HBASE-13978:
-----------------------------------

             Summary: Variable never assigned in SimpleTotalOrderPartitioner.getPartition()

                 Key: HBASE-13978
                 URL: https://issues.apache.org/jira/browse/HBASE-13978
             Project: HBase
          Issue Type: Bug
          Components: mapreduce
    Affects Versions: 1.1.0.1
            Reporter: Lars George
             Fix For: 2.0.0, 1.2.0


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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message