nil1729 / trino-ranger-demo

integrating trino with apache ranger using docker
MIT License
5 stars 2 forks source link

Dockerfile for trino is not working #2

Open bhargav2427 opened 3 weeks ago

bhargav2427 commented 3 weeks ago

Hi

1) I am not able to find .tar.gz file after building ranger project. I have jar files only in the target directory.

bhargav2427 commented 3 weeks ago

@nil1729 any help will be really appreciated. Thanks!

nil1729 commented 3 weeks ago

@bhargav2427 Can you please provide a few more details about the environment?

  1. Trino Version
  2. Java Version
  3. How you have built the Ranger
bhargav2427 commented 3 weeks ago

Thanks for your reply @nil1729

1) Trino Version: 450 2) Java Version: 11 3) I am building using commandmvn clean compile package install from the root directory of ranger. 4) I am building ranger project from release-ranger-2.4.0 tag.

nil1729 commented 3 weeks ago

Have you followed the steps mentioned here?

As far as I know, Trino 450 is running on JDK 21. I'm not sure if the built plugin can be installed on Trino 450.

Can I know why you are adopting Apache Ranger? If it's specifically for Trino ACL, you might want to check out OPA

--

Try building the Ranger plugin with JDK 17 using the commands mentioned in the README. I believe the README indicates that the first command will generate the Ranger Admin package, and the second one is for the Trino plugin. I'll fix the README accordingly.