You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yutong Xiao (Jira)" <ji...@apache.org> on 2021/11/21 06:10:00 UTC

[jira] [Assigned] (HBASE-26047) [JDK17] Track JDK17 unit test failures

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

Yutong Xiao reassigned HBASE-26047:
-----------------------------------

    Assignee: Yutong Xiao

> [JDK17] Track JDK17 unit test failures
> --------------------------------------
>
>                 Key: HBASE-26047
>                 URL: https://issues.apache.org/jira/browse/HBASE-26047
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yutong Xiao
>            Priority: Major
>
> As of now, there are still two failed unit tests after exporting JDK internal modules and the modifier access hack.
> {noformat}
> [ERROR] Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.217 s <<< FAILURE! - in org.apache.hadoop.hbase.io.TestHeapSize
> [ERROR] org.apache.hadoop.hbase.io.TestHeapSize.testSizes  Time elapsed: 0.041 s  <<< FAILURE!
> java.lang.AssertionError: expected:<160> but was:<152>
>         at org.apache.hadoop.hbase.io.TestHeapSize.testSizes(TestHeapSize.java:335)
> [ERROR] org.apache.hadoop.hbase.io.TestHeapSize.testNativeSizes  Time elapsed: 0.01 s  <<< FAILURE!
> java.lang.AssertionError: expected:<72> but was:<64>
>         at org.apache.hadoop.hbase.io.TestHeapSize.testNativeSizes(TestHeapSize.java:134)
> [INFO] Running org.apache.hadoop.hbase.io.Tes
> [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.697 s <<< FAILURE! - in org.apache.hadoop.hbase.ipc.TestBufferChain
> [ERROR] org.apache.hadoop.hbase.ipc.TestBufferChain.testWithSpy  Time elapsed: 0.537 s  <<< ERROR!
> java.lang.NullPointerException: Cannot enter synchronized block because "this.closeLock" is null
>         at org.apache.hadoop.hbase.ipc.TestBufferChain.testWithSpy(TestBufferChain.java:119)
> {noformat}
> It appears that JDK17 makes the heap size estimate different than before. Not sure why.
> TestBufferChain.testWithSpy  failure might be because of yet another unexported module.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)