phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3769) OnDuplicateKeyIT#testNewAndMultiDifferentUpdateOnSingleColumn fails on ppc64le
Date Fri, 04 Aug 2017 14:31:00 GMT

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

Josh Elser commented on PHOENIX-3769:
-------------------------------------

bq. There are two implementations of function compareTo. In case of x86, compareTo implemented
by enum UnsafeComparer is executed whereas in case of ppc64le, compareTo implemented by enum
PureJavaComparer is executed. Josh Elser looks like this is the root cause of this failure.

Ok, if that is broken, please spin out a JIRA issue for the HBASE project. {{Bytes}} is an
HBase class.

bq. I found another workaround for this issue. I noticed that the respective lengths of the
arrays are not passed to compareTo function. On making this change, the test passes on ppc64le
as well as x86.

Good find, [~skanekar]! That looks like a copy-paste bug to me. Want to attach a new patch
to this issue for this change only and see what the automated testing says?

> OnDuplicateKeyIT#testNewAndMultiDifferentUpdateOnSingleColumn fails on ppc64le
> ------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3769
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3769
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.11.0
>         Environment: $ uname -a
> Linux 6945c232192e 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:42:36 UTC 2015
ppc64le ppc64le ppc64le GNU/Linux
> $ java -version
> openjdk version "1.8.0_111"
> OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
> OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
>            Reporter: Sneha Kanekar
>              Labels: ppc64le
>         Attachments: OnDuplicateKeyIT_Standard_output.txt, PHOENIX-3769.patch, TEST-org.apache.phoenix.end2end.OnDuplicateKeyIT.xml
>
>
> The testcase org.apache.phoenix.end2end.OnDuplicateKeyIT.testNewAndMultiDifferentUpdateOnSingleColumn
fails consistently on ppc64le architechture. The error message is as follows:
> {code: borderStyle=solid}
> java.lang.ArrayIndexOutOfBoundsException: 179
> 	at org.apache.phoenix.end2end.OnDuplicateKeyIT.testNewAndMultiDifferentUpdateOnSingleColumn(OnDuplicateKeyIT.java:392)
> {code}



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

Mime
View raw message