[ 
https://issues.apache.org/jira/browse/RANGER-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898119#comment-17898119
 ] 

Madhan Neethiraj commented on RANGER-4995:
------------------------------------------

> Did you run your ranger-2.5 on JDK 8 env?
Yes.
{noformat}
# java -version
openjdk version "1.8.0_432"
OpenJDK Runtime Environment (build 1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga)
OpenJDK 64-Bit Server VM (build 25.432-bga, mixed mode)
{noformat}
 

[~tyoushinya] - the error message could be better. The failure does not seem to 
be about value of config {{{}jdbc.driverClassName{}}}. Troubleshooting this 
issue would require updating ranger-trino-plugin.jar with additional details in 
error logs (like stack trace).
{code:java}
            catch (Throwable t) {
                String msgDesc = "initConnection: Unable to connect to Trino 
instance, "
                        + "please provide valid value of field : 
{jdbc.driverClassName}.";
                HadoopException hdpException = new HadoopException(msgDesc, t);

                hdpException.generateResponseDataMap(false, getMessage(t), 
msgDesc + ERR_MSG, null, null);

                throw hdpException;
            }

{code}

> Can not create service for Trino
> --------------------------------
>
>                 Key: RANGER-4995
>                 URL: https://issues.apache.org/jira/browse/RANGER-4995
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, plugins
>    Affects Versions: 2.5.0
>         Environment: JDK 1.8
> Ranger 2.5.0
>            Reporter: zhenye zhang
>            Priority: Major
>         Attachments: Ranger Admin Logs.png, 截屏2024-11-13 20.27.39.png, 
> 截屏2024-11-13 20.28.07.png, 截屏2024-11-13 20.30.25.png
>
>
> I try to create a Trino service in Ranger 2.5.0 Admin UI, but I got the 
> "Could not initialize class io.trino.jdbc.TrinoDriver." error.  Anybody can 
> give some suggestion for this error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to