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

Istvan Toth commented on HBASE-27625:
-------------------------------------

This is actually normal.
Spark 2.x doesn't support Java 11.
Unless this can be reproduced with Spark 3, there is nothing to see here.

> Spark Connector Test Failure with Java 11
> -----------------------------------------
>
>                 Key: HBASE-27625
>                 URL: https://issues.apache.org/jira/browse/HBASE-27625
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbase-connectors, spark
>    Affects Versions: connector-1.0.0
>            Reporter: Istvan Toth
>            Assignee: Subrat Mishra
>            Priority: Major
>
> When trying to run the tests with Java 11, I get:
> {noformat}
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.733 
> s <<< FAILURE! - in org.apache.hadoop.hbase.spark.TestJavaHBaseContext
> [ERROR] org.apache.hadoop.hbase.spark.TestJavaHBaseContext  Time elapsed: 
> 0.721 s  <<< ERROR!
> java.lang.ExceptionInInitializerError
>     at 
> org.apache.hadoop.hbase.spark.TestJavaHBaseContext.setUpBeforeClass(TestJavaHBaseContext.java:86)
> Caused by: java.lang.NullPointerException
>     at 
> org.apache.hadoop.hbase.spark.TestJavaHBaseContext.setUpBeforeClass(TestJavaHBaseContext.java:86)[ERROR]
>  org.apache.hadoop.hbase.spark.TestJavaHBaseContext  Time elapsed: 0.721 s  
> <<< ERROR!
> java.lang.NullPointerException
>     at 
> org.apache.hadoop.hbase.spark.TestJavaHBaseContext.tearDownAfterClass(TestJavaHBaseContext.java:106)
> {noformat}
> The same test runs fine with Java 8.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to