aakashnand / trino-ranger-demo Goto Github PK
View Code? Open in Web Editor NEWTutorial on how to setup Trino and Apache Ranger using docker
License: Apache License 2.0
Tutorial on how to setup Trino and Apache Ranger using docker
License: Apache License 2.0
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 :)
The docker-compose pulls a trinodb/trino:362
image. We're currently trying to integrate the ranger compose with our current production setup on Trino 376.
The entrypoint for the trino image pulls ranger-3.0.0-SNAPSHOT-trino-plugin
from your github release directory, which is already pre-built with lib jars. If we wanted to keep trino updated to the latest version, can you recommend a path to take?
How can I build ranger-admin from https://github.com/apache/ranger with trino enabled?
Everytime I build ranger with maven and run the docker-compose stack and try to add my trino instance I receive:
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.
Can you help me with this?
Hello, I would like to ask you a question, what did you do when you adapted the ranger version and the trino version, recently I need to use a higher version of trino, I have made some attempts, but unfortunately, all failed, Can you share your experience? Thank you so much!
can you update ranger supported trino-420
hi,
have started making use if your published plugin + ranger build.
have you tested this using ldap auth in trino? anything specific we should lookout for?
currently from ranger we have the trino service up and running. policy creation also works, with auto complete of catalogs etc.
from trino, however, no policies are in the cache directory. looks like something is failing. logs do not contain any errors / exceptions.
any idea?
I have cloned this code and trying to run all the services. But Apache Ranger is not accessible on localhost. Getting below logs in docker.
Also, how can I integrate Ranger in my existing production Trino setup.
@aakashnand Please help.
Table functions were added to trino from 388 onwards and SystemAccessControl
methods were updated to accommodate this change later. Therefore, to make the table function work with the Trino-Rangerplugin we need to re-implement method checkCanExecuteFunction
with a new argumentFunctionKind
Relevant links
Trino Slack: https://trinodb.slack.com/archives/CGB0QHWSW/p1655456620535959
trinodb/trino#12544
trinodb/trino#12833
I have integrated Trino v388 with Ranger v2.3 using https://github.com/aakashnand/trino-ranger-demo/releases/download/trino-ranger-demo-v1.0/ranger-2.3.0-trino-plugin.tar.gz
I am able to access-control trino tables and columns in postgresql and hive catalogs.
But Not able to do column level masking and row-level filtering
There is no error, It looks like it simply ignores the mask and row-filter policies.
access-control.properties file:
access-control.name=ranger
ranger.use_ugi=true
ranger.hadoop_config=/opt/darc/hadoop-3.3.1/core-site.xml
@aakashnand , any advice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.