Hi All,
I have performed all the steps mentioned in presto guide (https://trino.io/docs/current/security/server.html) to implement kerberos authentication.
Also, as per my knowledge have correctly configured the krb5.conf, as the tickets are generating successfully
[ PROD root@ZMLPZCNVSAPD06 /home/canvas]# klist
Ticket cache: KEYRING:persistent:0:krb_ccache_JzVp1Mb
Default principal: presto@ZMLPZCNVSAPD06
Valid starting Expires Service principal
03/19/2021 06:58:54 03/20/2021 06:58:54 krbtgt/ZMLPZCNVSAPD06@ZMLPZCNVSAPD06
But the query over presto throws following error:
Error running command: Authentication failed: Invalid Token io.prestosql.client.ClientException: Authentication failed: Invalid Token
at io.prestosql.client.StatementClientV1.requestFailedException(StatementClientV1.java:470)
at io.prestosql.client.StatementClientV1.<init>(StatementClientV1.java:137) at io.prestosql.client.StatementClientFactory.newStatementClient(StatementClientFactory.java:24)
at io.prestosql.cli.QueryRunner.startInternalQuery(QueryRunner.java:144)
at io.prestosql.cli.QueryRunner.startQuery(QueryRunner.java:130)
at io.prestosql.cli.Console.process(Console.java:331)
at io.prestosql.cli.Console.runConsole(Console.java:257)
at io.prestosql.cli.Console.run(Console.java:156)
at io.prestosql.cli.Presto.main(Presto.java:31)
Any possible solution or workaround for this?
----
Regards,
Lokesh
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 486 |
Nodes: | 16 (2 / 14) |
Uptime: | 147:42:49 |
Calls: | 9,659 |
Calls today: | 1 |
Files: | 13,708 |
Messages: | 6,168,027 |