I also am not sure why it was not seen until now but one does seem related to 
the other. Let me look into this tomorrow. Given how it fails it would seem a 
dependency exclusion was added somewhere or an explicit dependency is now 
required where one used to be implicit, or is new because of a refactor on the 
BC side, something like that. Unfortunately the dependency scan tools used 
where I work insist the BC upgrade must be done. 

> On Oct 16, 2022, at 9:33 AM, 张铎 <[email protected]> wrote:
> 
> TestUsersOperationsWithSecureHadoop is failing for me locally, with
> openjdk 8u292.
> 
> Maybe related to HBASE-27411? Not sure why pre commit did not fail in
> https://github.com/apache/hbase/pull/4817...
> 
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008
> s <<< FAILURE! - in
> org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
> org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
> Time elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError:
> org/bouncycastle/jce/provider/BouncyCastleProvider
>        at 
> org.apache.directory.server.core.DefaultDirectoryService.createBootstrapEntries(DefaultDirectoryService.java:1483)
>        at 
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1828)
>        at 
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1248)
>        at 
> org.apache.hadoop.minikdc.MiniKdc.initDirectoryService(MiniKdc.java:378)
>        at org.apache.hadoop.minikdc.MiniKdc.start(MiniKdc.java:314)
>        at 
> org.apache.hadoop.hbase.HBaseTestingUtility.setupMiniKdc(HBaseTestingUtility.java:4249)
>        at 
> org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop.setUp(TestUsersOperationsWithSecureHadoop.java:67)
>        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.apache.hadoop.hbase.SystemExitRule$1.evaluate(SystemExitRule.java:39)
>        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:748)
> Caused by: java.lang.ClassNotFoundException:
> org.bouncycastle.jce.provider.BouncyCastleProvider
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>        ... 22 more
> 
> Andrew Purtell <[email protected]> 于2022年10月14日周五 02:01写道:
>> 
>> Please vote on this Apache hbase release candidate, hbase-2.5.1RC0
>> 
>> The VOTE will remain open for at least 72 hours.
>> 
>> [ ] +1 Release this package as Apache hbase 2.5.1
>> [ ] -1 Do not release this package because ...
>> 
>> The tag to be voted on is 2.5.1RC0:
>> 
>>  https://github.com/apache/hbase/tree/2.5.1RC0
>> 
>> This tag currently points to git reference edf0b62273.
>> 
>> The release files, including signatures, digests, as well as CHANGES.md
>> and RELEASENOTES.md included in this RC can be found at:
>> 
>>  https://dist.apache.org/repos/dist/dev/hbase/2.5.1RC0/
>> 
>> The compatibility report can be found here:
>> 
>> 
>> https://dist.apache.org/repos/dist/dev/hbase/2.5.1RC0/api_compare_2.5.0_to_2.5.1RC0.html
>> 
>> All changes are in line with our compatibility guidelines, except one
>> change where we intentionally removed a constant field in a public
>> interface. The change was required to resolve deadlocks during static
>> initialization under certain conditions. Refer to HBASE-27381 for more
>> details.
>> 
>> Maven artifacts are available in a staging repository at:
>> 
>>  https://repository.apache.org/content/repositories/orgapachehbase-1497/
>> 
>> Artifacts were signed with the 0xD5365CCD key which can be found in:
>> 
>>  https://downloads.apache.org/hbase/KEYS
>> 
>> To learn more about Apache hbase, please see
>> 
>>  http://hbase.apache.org/
>> 
>> Thanks,
>> Your HBase Release Manager

Reply via email to