You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sakthi (JIRA)" <ji...@apache.org> on 2019/06/04 05:49:00 UTC

[jira] [Updated] (HBASE-22536) TestForeignExceptionSerialization fails when run on JDK11

     [ https://issues.apache.org/jira/browse/HBASE-22536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sakthi updated HBASE-22536:
---------------------------
    Attachment: hbase-22536.master.001.patch

> TestForeignExceptionSerialization fails when run on JDK11
> ---------------------------------------------------------
>
>                 Key: HBASE-22536
>                 URL: https://issues.apache.org/jira/browse/HBASE-22536
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Sakthi
>            Assignee: Sakthi
>            Priority: Minor
>         Attachments: hbase-22536.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestForeignExceptionSerialization fails. A sample stacktrace:
> {code}
>  Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.546 s <<< FAILURE! - in org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization
> testRemoteFromLocal(org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization) Time elapsed: 0.084 s <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: Local stack trace got corrupted: arrays first differed at element [0]; expected: java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)> but was: java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)>
> at org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:78)
> Caused by: java.lang.AssertionError: expected: java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)> but was: java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)>
> at org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:78){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)