[KYUUBI #4652][FOLLOWUP] Fix JaasConfiguration ClassNotFoundException for Hadoop 3.3.4 and previous
### _Why are the changes needed?_ JaasConfiguration is a static class. Before: <img width="1151" alt="image" src="https://user-images.githubusercontent.com/6757692/234147288-d1251e5b-7c23-4746-80fb-335945c408c7.png"> After: <img width="1189" alt="image" src="https://user-images.githubusercontent.com/6757692/234147251-e0007ac8-bb9e-49a5-95eb-3ea0b9671996.png"> ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4765 from turboFei/zk_not_found. Closes #4652 77dceb2bc [fwang12] fix class not found issue Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: fwang12 <fwang12@ebay.com>
This commit is contained in:
parent
b0d07f7086
commit
f3c037d6f3
@ -118,7 +118,7 @@ object ZookeeperClientProvider extends Logging {
|
||||
classOf[String])
|
||||
.impl( // Hadoop 3.3.4 and previous
|
||||
// scalastyle:off
|
||||
"org.apache.hadoop.security.token.delegation.ZKDelegationTokenSecretManager.JaasConfiguration",
|
||||
"org.apache.hadoop.security.token.delegation.ZKDelegationTokenSecretManager$JaasConfiguration",
|
||||
// scalastyle:on
|
||||
classOf[String],
|
||||
classOf[String],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user