hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1264) Wrong return values of compareTo in org.apache.hadoop.hbase.filter.RegexStringComparator
Date Thu, 26 Mar 2009 02:42:51 GMT

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

Andrew Purtell commented on HBASE-1264:
---------------------------------------

Hi Thomas. Why do you think the return of compareTo() is wrong? Your change causes the unit
test for this class to fail. 

> Wrong return values of compareTo in org.apache.hadoop.hbase.filter.RegexStringComparator
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-1264
>                 URL: https://issues.apache.org/jira/browse/HBASE-1264
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.19.1
>         Environment: Ubuntu 8.04 (64 Bit), JDK 1.6
>            Reporter: Thomas Schneider
>            Priority: Minor
>             Fix For: 0.19.1
>
>         Attachments: hbase-1264.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The return values of the compareTo() method have to be changed against each other. The
method has to return 0 if the regex matches and 1 if it does not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message