trino-ranger-demo icon indicating copy to clipboard operation
trino-ranger-demo copied to clipboard

Document how to produce artifacts used

Open esselius opened this issue 2 years ago • 3 comments
trafficstars

I spent a long time figuring out how to get the trino plugin tarball you very conveniently provide, but maybe it would be nice to write in the readme how to make one :)

esselius avatar May 15 '23 20:05 esselius

@esselius thanks for suggestion peter. I also spent many hours and have shared tips and info in trino slack community on how to build the tar file but I will add this info to this readme as well. I will do it later.

aakashnand avatar May 15 '23 21:05 aakashnand

@aakashnand Hello! Maybe you can help me with build trino plugin I tried build it 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!

dshershov avatar Sep 13 '23 07:09 dshershov

I spent a long time figuring out how to get the trino plugin tarball you very conveniently provide, but maybe it would be nice to write in the readme how to make one :)

@aakashnand. can you write in the readme how to make one ,because trini version is so faster.

luhea avatar Mar 27 '24 09:03 luhea