Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STORM-4155] SecurityManager Issue with JDK 23 in Apache Storm #7935

Open
jira-importer opened this issue Jan 24, 2025 · 0 comments
Open

[STORM-4155] SecurityManager Issue with JDK 23 in Apache Storm #7935

jira-importer opened this issue Jan 24, 2025 · 0 comments

Comments

@jira-importer
Copy link
Collaborator

UnsupportedOperationException error message with jdk-23

2025-01-23 20:17:21.923 [ERROR] o.a.s.s.o.a.c.f.l.MappingListenerManager main-EventThread 
Listener (org.apache.storm.zookeeper.LeaderListenerCallbackFactory$1@3374b5bc) threw an exceptionjava.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowed
    at java.base/javax.security.auth.Subject.getSubject(Subject.java:347) ~[?:?]
    at org.apache.storm.security.auth.ReqContext.(ReqContext.java:51) ~[storm-client-2.8.0.jar:2.8.0]
    at org.apache.storm.security.auth.ReqContext.lambda$static$0(ReqContext.java:42) ~[storm-client-2.8.0.jar:2.8.0]
    at java.base/java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(ThreadLocal.java:357) ~[?:?]
    at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225) ~[?:?]
    at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194) ~[?:?]
    at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172) ~[?:?]
    at org.apache.storm.security.auth.ReqContext.context(ReqContext.java:78) ~[storm-client-2.8.0.jar:2.8.0]
    at org.apache.storm.nimbus.LeaderListenerCallback.getTopologyDependencyKeys(LeaderListenerCallback.java:205) ~[storm-server-2.8.0.jar:2.8.0]
    at org.apache.storm.nimbus.LeaderListenerCallback.leaderCallBack(LeaderListenerCallback.java:127) ~[storm-server-2.8.0.jar:2.8.0]
    at org.apache.storm.zookeeper.LeaderListenerCallbackFactory$1.isLeader(LeaderListenerCallbackFactory.java:70) ~[storm-server-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.listen.MappingListenerManager.lambda$forEach$0(MappingListenerManager.java:82) ~[storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.listen.MappingListenerManager.forEach(MappingListenerManager.java:80) ~[storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.listen.StandardListenerManager.forEach(StandardListenerManager.java:81) ~[storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.recipes.leader.LeaderLatch.setLeadership(LeaderLatch.java:657) ~[storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.recipes.leader.LeaderLatch.lambda$checkLeadership$0(LeaderLatch.java:568) ~[storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:953) [storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:666) [storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:131) [storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.curator.framework.imps.GetDataBuilderImpl$3.processResult(GetDataBuilderImpl.java:250) [storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:623) [storm-shaded-deps-2.8.0.jar:2.8.0]
    at org.apache.storm.shade.org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:542) [storm-shaded-deps-2.8.0.jar:2.8.0]

 


Originally reported by puru, imported from: SecurityManager Issue with JDK 23 in Apache Storm
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-24
@rzo1 rzo1 added this to the 2.8.1 milestone Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants