Skip to content

Commit

Permalink
fix permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Nov 21, 2024
1 parent 19d28c1 commit a9d085c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class HdfsSecurityContext {
// 2) allow hadoop to add credentials to our Subject
new AuthPermission("modifyPrivateCredentials"),
// 3) RPC Engine requires this for re-establishing pooled connections over the lifetime of the client
new PrivateCredentialPermission("org.apache.hadoop.security.Credentials * \"*\"", "read") };
new PrivateCredentialPermission("org.apache.hadoop.security.Credentials * \"*\"", "read"),
new RuntimePermission("getClassLoader") };

// If Security is enabled, we need all the following elevated permissions:
KERBEROS_AUTH_PERMISSIONS = new Permission[] {
Expand Down

0 comments on commit a9d085c

Please sign in to comment.