NihalJain commented on PR #133: URL: https://github.com/apache/hbase-connectors/pull/133#issuecomment-2555153658
> @NihalJain thanks for responding so quickly! Here is the branch I am testing: https://github.com/Matulis/hbase-connectors/tree/WIP_Hadoop_3_4_0 > > I'm trying to pin the versions to match AWS EMR 7.5.0. > > It looks like the HBase cluster fails to start (I see the same with 3.3.6), not sure if it's possibly related to building on ARM based Mac (I'll try to get someone on an Intel Mac to try the build): > > ``` > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 35.342 s <<< FAILURE! - in org.apache.hadoop.hbase.spark.TestJavaHBaseContextForLargeRows > [ERROR] org.apache.hadoop.hbase.spark.TestJavaHBaseContextForLargeRows Time elapsed: 35.342 s <<< ERROR! > java.io.IOException: Shutting down > at org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:257) > at org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:110) > at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1185) > at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:1152) > at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:1116) > at org.apache.hadoop.hbase.spark.TestJavaHBaseContext.init(TestJavaHBaseContext.java:107) > at org.apache.hadoop.hbase.spark.TestJavaHBaseContextForLargeRows.setUpBeforeClass(TestJavaHBaseContextForLargeRows.java:51) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33) > at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) > at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) > at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.lang.Thread.run(Thread.java:750) > Caused by: java.lang.RuntimeException: Master not active after 30000ms > at org.apache.hadoop.hbase.util.JVMClusterUtil.waitForEvent(JVMClusterUtil.java:221) > at org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:177) > at org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:407) > at org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:250) > ... 20 more > ``` Thanks for the response. I think the issue is mockito. You have 2 options: - Try to fork PR https://github.com/apache/hbase-connectors/pull/132 and apply your changes on top this. This PR is ready only; I could not get it merged as to some additional work around builds was requested and just forgot about it. But those are not really imp if you have your own build process. - Or just try cherry-pick changes for mockito from above PR. Let me know if this helps. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
