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

startup error: current node not returned from service selector, when https is enabled #24755

Open
andrewzah opened this issue Jan 21, 2025 · 0 comments

Comments

@andrewzah
Copy link

Versions

$ /bin/trino-cli-448-executable.jar --version
Trino CLI 448

(also tested on 468, same deal except it says major version 67 instead of 66)

$ java -version
openjdk version "23.0.1" 2024-10-15
OpenJDK Runtime Environment Temurin-23.0.1+11 (build 23.0.1+11)
OpenJDK 64-Bit Server VM Temurin-23.0.1+11 (build 23.0.1+11, mixed mode, sharing)
bash-5.2# 

Errors

Caused by: IllegalStateException: INVARIANT: current node not returned from service selector
        at DiscoveryNodeManager.findCurrentNode(DiscoveryNodeManager.java:143)
        at DiscoveryNodeManager.<init>(DiscoveryNodeManager.java:116)

It errors when https is enabled, but works fine when just using http.

and the Guice error, although we are on jdk 23.x

java.lang.IllegalArgumentException: Unsupported class file major version 66
        at com.google.inject.internal.asm.$ClassReader.<init>(ClassReader.java:199)
        at com.google.inject.internal.asm.$ClassReader.<init>(ClassReader.java:180)
        at com.google.inject.internal.asm.$ClassReader.<init>(ClassReader.java:166)
        at com.google.inject.internal.asm.$ClassReader.<init>(ClassReader.java:287)
        at com.google.inject.internal.util.LineNumbers.<init>(LineNumbers.java:74)
        at com.google.inject.internal.util.StackTraceElements$1.load(StackTraceElements.java:48)
        at com.google.inject.internal.util.StackTraceElements$1.load(StackTraceElements.java:44)
        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3576)
        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318)
        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2191)
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2081)
        at com.google.common.cache.LocalCache.get(LocalCache.java:4019)
        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4042)
        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5024)
        at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5031)
        at com.google.inject.internal.util.StackTraceElements.forMember(StackTraceElements.java:67)
        at com.google.inject.internal.SourceFormatter.formatMember(SourceFormatter.java:91)
        at com.google.inject.internal.SourceFormatter.formatInjectionPoint(SourceFormatter.java:97)
        at com.google.inject.internal.SourceFormatter.format(SourceFormatter.java:49)
        at com.google.inject.internal.GenericErrorDetail.formatDetail(GenericErrorDetail.java:26)
        at com.google.inject.spi.ErrorDetail.format(ErrorDetail.java:64)

Configs

coordinator=true
node.environment=tno_test
discovery.uri=https://test.foo.dev:8443
internal-communication.shared-secret=${ENV:SHARED_SECRET}

http-server.http.enabled=false

http-server.https.enabled=true
http-server.https.port=8443
http-server.https.keystore.path=/opt/trino-server/etc/keystore.p12
http-server.https.keystore.key=${ENV:KEYSTORE_PASSWORD}

node-scheduler.include-coordinator=false
http-server.process-forwarded=true

##############
### WEB UI ###
##############
#web-ui.enabled=true
node.id=${ENV:TRINO_NODE_ID}
node.data-dir=/tmp/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant