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

Kadir OZDEMIR commented on PHOENIX-6702:
----------------------------------------

[~richardantal], That is what we reported. More specifically, if you use 
Phoenix you would see extra an extra index row, a deleted index row. However, 
if you use HBase directly, you would not see that. You can use the following to 
scan a table directly using HBase

{code:java}
   public static void dumpTableLatest(Table table) throws IOException {
        System.out.println("************ dumping " + table + " **************");
        Scan s = new Scan();
        try (ResultScanner scanner = table.getScanner(s)) {
            Result result = null;
            int i = 0;
            while ((result = scanner.next()) != null) {
                CellScanner cellScanner = result.cellScanner();
                Cell current = null;
                while (cellScanner.advance()) {
                    current = cellScanner.current();
                    System.out.println(current + " column= " +
                            Bytes.toString(CellUtil.cloneQualifier(current)) +
                            " val=" + 
Bytes.toStringBinary(CellUtil.cloneValue(current)));
                }
                i++;
                System.out.println(i);
            }
        }
        System.out.println("-----------------------------------------------");
    }
{code}


> ConcurrentMutationsExtendedIT and PartialIndexRebuilderIT fail on Hbase 
> 2.4.11+
> -------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6702
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6702
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5.2.0, 5.1.3
>            Reporter: Istvan Toth
>            Assignee: Kadir OZDEMIR
>            Priority: Blocker
>             Fix For: 5.2.0
>
>         Attachments: bisect.sh
>
>
> On my local machine
> ConcurrentMutationsExtendedIT.testConcurrentUpserts failed 6 out 10 times 
> while PartialIndexRebuilderIT.testConcurrentUpsertsWithRebuild failed 10 out 
> of 10 times with HBase 2.4.11 (the default build)
>  The same tests succeeded 3 out of 3 times with HBase 2.3.7.
> Either HBase 2.4 has a bug, or our compatibility modules need to be fixed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to