You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2015/07/01 20:31:04 UTC
[jira] [Updated] (HBASE-13978) Variable never assigned in
SimpleTotalOrderPartitioner.getPartition()
[ https://issues.apache.org/jira/browse/HBASE-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Busbey updated HBASE-13978:
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.3.0)
Status: Resolved (was: Patch Available)
pushed to 1.2+
> 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
> Assignee: Bhupendra Kumar Jain
> Labels: beginner
> Fix For: 2.0.0, 1.2.0
>
> Attachments: 0001-HBASE-13978-Variable-never-assigned-in-SimpleTotalOr.patch
>
>
> 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)