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

Hadoop QA commented on HBASE-18361:
-----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  4s{color} 
| {color:red} HBASE-18361 does not apply to master. Rebase required? Wrong 
Branch? See https://yetus.apache.org/documentation/0.4.0/precommit-patchnames 
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HBASE-18361 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12876640/HBASE-18361.patch |
| Console output | 
https://builds.apache.org/job/PreCommit-HBASE-Build/7612/console |
| Powered by | Apache Yetus 0.4.0   http://yetus.apache.org |


This message was automatically generated.



> CellComparator compare function should compare cell's value along with other 
> attributes
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-18361
>                 URL: https://issues.apache.org/jira/browse/HBASE-18361
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.3.1
>            Reporter: Amit Kabra
>            Assignee: Amit Kabra
>         Attachments: HBASE-18361.patch
>
>
> CellComparator.compare(Cell a, Cell b) should compare a and b's value as well.
> If we create two cells as 
>     byte [] row = Bytes.toBytes("row");
>     byte [] value = Bytes.toBytes("value");
>     byte [] value1 = Bytes.toBytes("value1");
>     Cell c1 = CellUtil.createCell(row, value);
>     Cell c2 = CellUtil.createCell(row, value1);
> And compare them using CellComparator.compare(c1, c2,true) , it returns 0 i.e 
> it matches them while they are different.CellComparator compares each 
> attribute of cell but value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to