Error while deploying trino coordinator with file based authentication using docker-compose #19817
Unanswered
GowthamChinta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to validate trino docker deployment using docker-compose. but it errors out with "Password authenticator 'file' is not registered"
My configuration files are
config.properties
coordinator=true
node-scheduler.include-coordinator=false
http-server.http.port=8080
query.max-memory=20GB
discovery.uri=http://127.0.0.1:8080
internal-communication.shared-secret=
http-server.authentication.type=password
http-server.https.enabled=true
http-server.https.port=8443
http-server.https.keystore.path=/path-to-th-pem-file/
password-authenticator.properties
password-authenticator.name=file
file.password-file=etc/password.db
Error :
2023-11-19T03:49:04.877Z ERROR main io.trino.server.Server Password authenticator 'file' is not registered
java.lang.IllegalStateException: Password authenticator 'file' is not registered
at com.google.common.base.Preconditions.checkState(Preconditions.java:601)
at io.trino.server.security.PasswordAuthenticatorManager.loadAuthenticator(PasswordAuthenticatorManager.java:103)
at io.trino.server.security.PasswordAuthenticatorManager.loadPasswordAuthenticator(PasswordAuthenticatorManager.java:82)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at io.trino.server.Server.doStart(Server.java:164)
at io.trino.server.Server.lambda$start
0
.
0(Server.java:91)atio.trino.gen.Trino_433____20231119_034841_1.run(Unknown Source)
at io.trino.server.Server.start(Server.java:91)
at io.trino.server.TrinoServer.main(TrinoServer.java:38)
same configuration when I use docker command directly is working without an issue
Beta Was this translation helpful? Give feedback.
All reactions