Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to produce artifacts used #6

Open
esselius opened this issue May 15, 2023 · 3 comments
Open

Document how to produce artifacts used #6

esselius opened this issue May 15, 2023 · 3 comments

Comments

@esselius
Copy link

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
Copy link
Owner

@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.

@dshershov
Copy link

@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!

@luhea
Copy link

luhea commented Mar 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants