hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13978) Variable never assigned in SimpleTotalOrderPartitioner.getPartition()
Date Sat, 04 Jul 2015 13:30:05 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613840#comment-14613840
] 

Hudson commented on HBASE-13978:
--------------------------------

FAILURE: Integrated in HBase-0.98 #1046 (See [https://builds.apache.org/job/HBase-0.98/1046/])
HBASE-13978: Variable never assigned in SimpleTotalOrderPartitioner.getPartition() (apurtell:
rev 64847a6bc973771c9d373511f97215d6a299a5ca)
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SimpleTotalOrderPartitioner.java


> 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, 0.98.14, 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)

Mime
View raw message