[ https://issues.apache.org/jira/browse/RANGER-3755 ]


    ericsoul deleted comment on RANGER-3755:
    ----------------------------------

was (Author: elapsedsoul):
How to use trino plugin with jdk11 connect to admin with jdk1.8.

While create the trino service on admin web with jdk1.8, I got the error:
msgDesc: "trino failed to find service class 
org.apache.ranger.services.trino.RangerServiceTrino. Resource lookup will not 
be available. Please make sure plugin jar is in the correct place."
 
Anyone could help?

> Build Plugin-Trino artifacts only with JDK 11
> ---------------------------------------------
>
>                 Key: RANGER-3755
>                 URL: https://issues.apache.org/jira/browse/RANGER-3755
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Ramesh Mani
>            Assignee: Ramesh Mani
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> Plugin Trino needs jdk 11 and about to compile and build. In order to avoid 
> build issue in Apache Ranger when including Plugin Trino, we need to enable a 
> profile so that default build of Apache Ranger will use JDK 1.8 and Plugin 
> Trino and its artifacts can be build with JDK 11 profile.
> To build Plugin Trino artifacts following command can be executed.
>  mvn  clean compile package -P ranger-trino-plugin



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

Reply via email to