[ https://issues.apache.org/jira/browse/HBASE-21922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16776097#comment-16776097 ]
Hudson commented on HBASE-21922: -------------------------------- Results for branch master [build #819 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/819/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/master/819//General_Nightly_Build_Report/] (x) {color:red}-1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/master/819//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/master/819//JDK8_Nightly_Build_Report_(Hadoop3)/] (x) {color:red}-1 source release artifact{color} -- See build output for details. (x) {color:red}-1 client integration test{color} -- Something went wrong with this stage, [check relevant console output|https://builds.apache.org/job/HBase%20Nightly/job/master/819//console]. > BloomContext#sanityCheck may failed when use ROWPREFIX_DELIMITED bloom filter > ----------------------------------------------------------------------------- > > Key: HBASE-21922 > URL: https://issues.apache.org/jira/browse/HBASE-21922 > Project: HBase > Issue Type: Bug > Reporter: Guanghao Zhang > Assignee: Guanghao Zhang > Priority: Major > Fix For: 3.0.0, 2.2.0, 2.3.0 > > Attachments: HBASE-21922.master.001.patch, > HBASE-21922.master.002.patch, HBASE-21922.master.003.patch > > > Assume we use '5' as the delimiter, there are rowkeys: row1 is smaller than > row2 > {code:java} > row1: 12345xxx > row2: 1235xxxx{code} > When use ROWPREFIX_DELIMITED bloom filter, the rowkey write to bloom filter > are > {code:java} > row1's key for bloom filter: 1234 > row2's key for bloom fitler: 123{code} > The row1's key for bloom filter is bigger than row2. Then > BloomContext#sanityCheck will failed. > {code:java} > private void sanityCheck(Cell cell) throws IOException { > if (this.getLastCell() != null) { > LOG.debug("Current cell " + cell + ", prevCell = " + this.getLastCell()); > if (comparator.compare(cell, this.getLastCell()) <= 0) { > throw new IOException("Added a key not lexically larger than" + " > previous. Current cell = " > + cell + ", prevCell = " + this.getLastCell()); > } > } > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)