【问题标题】:Presto 313 password-authenticator. properties doesn't work with filePresto 313 密码验证器。属性不适用于文件
【发布时间】:2020-06-01 12:26:03
【问题描述】:

我正在 K8s 中运行 presto,我正在尝试为服务启用基于文件的身份验证(使用此作为指南 https://prestosql.io/docs/current/security/password-file.html)。但是,当应用程序启动时,我收到一条错误消息:

java.lang.IllegalStateException: 密码验证器文件未注册

config.properties

coordinator=true
node-scheduler.include-coordinator=false
http-server.http.port=8080
query.max-memory=20GB
query.max-memory-per-node=10GB
query.max-total-memory-per-node=10GB
discovery-server.enabled=true
discovery.uri=http://presto-service.eap.svc.cluster.local:8080
http-server.authentication.type=PASSWORD
http-server.https.enabled=true
http-server.https.port=8443
http-server.https.keystore.path=/opt/presto-server/etc/presto.jks
http-server.https.keystore.key=*************

密码验证器.properties

password-authenticator.name=file
file.password-file=/opt/presto-server/etc/password.db

配置的其余部分看起来非常正常,所以有人知道我在这里可能错过了什么吗? 谢谢,

【问题讨论】:

    标签: kubernetes presto trino


    【解决方案1】:

    327版本增加了密码文件认证,需要升级。

    安全更改
    添加密码文件验证。 (#797)

    您可以从https://prestosql.io/download.html获取最新版本。
    此外,您还可以加入社区 Slack。 https://prestosql.io/slack.html

    【讨论】:

    • 哇!现在想想就很明显了。非常感谢您的推动:)
    • 我们可以通过将当前版本替换为prestosql.io/docs/313/index.html来查看过去的文档
    猜你喜欢
    • 1970-01-01
    • 2020-04-16
    • 2012-03-17
    • 1970-01-01
    • 1970-01-01
    • 2017-06-05
    • 1970-01-01
    • 1970-01-01
    • 2014-05-12
    相关资源
    最近更新 更多