Re: [PR] Support Java 11 and add trino plugin [ranger]

2024-08-11 Thread via GitHub


mneethiraj commented on PR #106:
URL: https://github.com/apache/ranger/pull/106#issuecomment-2282830857

   > Could anyone share how to build it with the 2.5 release? It does not work
   
   @DatumWorld  - Trino plugin implementation is removed from Ranger git repo 
and is being moved to Trino git repo; this effort is tracked by 
[RANGER-4810](https://issues.apache.org/jira/browse/RANGER-4810).
   
   Please review the [PR in Trino](https://github.com/trinodb/trino/pull/22675) 
repo.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Support Java 11 and add trino plugin [ranger]

2024-08-11 Thread via GitHub


DatumWorld commented on PR #106:
URL: https://github.com/apache/ranger/pull/106#issuecomment-2282772242

   @esselius Hi!  any idea with the 2.5 release? Thanks
   
   > > > Hi, can anyone share how to build the Trino plugin with 2.3 release i 
have tried the following but no tar file was created for trino plugin.
   > > > mvn -Pall -DskipTests=true clean compile package install
   > > > mvn -Pranger-jdk11 -DskipTests=true clean compile package install
   > > > mvn -Pranger-jdk11 -DskipTests=true clean compile package install 
assembly:assembly - fails with error
   > > > I tried building it as explained here 
[issues.apache.org/jira/browse/RANGER-3755](https://issues.apache.org/jira/browse/RANGER-3755)
 but no luck, getting the same errors as last comment on this jira issue.
   > > > thanks.
   > > 
   > > 
   > > I finally figured out how to do this, turns out you need to disable the 
distro linux profile and pick a few modules manually to make it work:
   > > ```
   > > $ cd apache-ranger-2.4.0
   > > $ mvn clean package -DskipTests -P ranger-trino-plugin,-linux -am -pl 
distro,plugin-trino,ranger-trino-plugin-shim,agents-installer,credentialbuilder
   > > ```
   > > 
   > > 
   > > 
   > >   
   > > 
   > > 
   > >   
   > > 
   > > 
   > > 
   > >   
   > > The artifact lands @ `target/ranger-2.4.0-trino-plugin.tar.gz`
   > > The problem was that the linux profile in the distro module implicitly 
activates and overrides the ranger-trino-plugin profile maven config etc
   > 
   > Could anyone share how to build it with the 2.5 release? It does not work
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Support Java 11 and add trino plugin [ranger]

2024-08-08 Thread via GitHub


DatumWorld commented on PR #106:
URL: https://github.com/apache/ranger/pull/106#issuecomment-2275965837

   > > Hi, can anyone share how to build the Trino plugin with 2.3 release i 
have tried the following but no tar file was created for trino plugin.
   > > mvn -Pall -DskipTests=true clean compile package install
   > > mvn -Pranger-jdk11 -DskipTests=true clean compile package install
   > > mvn -Pranger-jdk11 -DskipTests=true clean compile package install 
assembly:assembly - fails with error
   > > I tried building it as explained here 
[issues.apache.org/jira/browse/RANGER-3755](https://issues.apache.org/jira/browse/RANGER-3755)
 but no luck, getting the same errors as last comment on this jira issue.
   > > thanks.
   > 
   > I finally figured out how to do this, turns out you need to disable the 
distro linux profile and pick a few modules manually to make it work:
   > 
   > ```
   > $ cd apache-ranger-2.4.0
   > $ mvn clean package -DskipTests -P ranger-trino-plugin,-linux -am -pl 
distro,plugin-trino,ranger-trino-plugin-shim,agents-installer,credentialbuilder
   > ```
   > 
   > The artifact lands @ `target/ranger-2.4.0-trino-plugin.tar.gz`
   > 
   > The problem was that the linux profile in the distro module implicitly 
activates and overrides the ranger-trino-plugin profile maven config etc
   
   Could anyone share how to build it with the 2.5 release? It does not work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Support Java 11 and add trino plugin [ranger]

2024-01-26 Thread via GitHub


tarekabouzeid commented on PR #106:
URL: https://github.com/apache/ranger/pull/106#issuecomment-1911943982

   > Hi @esselius ! Your solution is very close to what I need! Unfortunately 
this is not working for me on 2.4.0 ranger version with 17ojdk. Maybe you have 
some ideas how I can fix that. I tried build trino plugin with 414 version of 
trino with the next command: 
`JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home && 
mvn clean package -DskipTests -P ranger-trino-plugin,-linux(or -mac or -"mac os 
x") -am -pl 
agents-audit,agents-common,agents-cred,agents-installer,credentialbuilder,ranger-plugin-classloader,ranger-util,plugin-trino,ranger-trino-plugin-shim`
   > 
   > ```
   > [INFO] Reactor Summary for ranger 2.4.0:
   > [INFO]
   > [INFO] ranger . SUCCESS [  
0.897 s]
   > [INFO] Credential Support . SUCCESS [  
1.974 s]
   > [INFO] Audit Component  SUCCESS [  
2.799 s]
   > [INFO] ranger-plugin-classloader .. SUCCESS [  
0.906 s]
   > [INFO] Common library for Plugins . SUCCESS [  
5.663 s]
   > [INFO] Installer Support Component  SUCCESS [  
0.513 s]
   > [INFO] Credential Builder . SUCCESS [  
1.403 s]
   > [INFO] Ranger Util  SUCCESS [  
1.196 s]
   > [INFO] Trino Security Plugin .. SUCCESS [  
2.398 s]
   > [INFO] Trino Security Plugin Shim . SUCCESS [  
1.300 s]
   > [INFO] 

   > [INFO] BUILD SUCCESS
   > ```
   > 
   > But archive was missing into target directory. Thanks a lot for your ideas!
   
   Hi,
   
   Did you manage to get it to work with this Trino version?
   
   
   Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org