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

Implement Authorizer #400

Closed
5 tasks done
Tracked by #438
soenkeliebau opened this issue Sep 27, 2023 · 4 comments · Fixed by #474
Closed
5 tasks done
Tracked by #438

Implement Authorizer #400

soenkeliebau opened this issue Sep 27, 2023 · 4 comments · Fixed by #474
Assignees
Labels
release/2024-03 release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Comments

@soenkeliebau
Copy link
Member

soenkeliebau commented Sep 27, 2023

In order to allow authorizing HDFS access requests with OPA, we need to implement a component to run inside of HDFS and forward requests to OPA, this is a principle very similar to the ones we currently use in Kafka, Druid and which is being merged in upstream Trino as well.

There is some code at https://github.com/stackabletech/hdfs-opa-authorizer where I have played around a bit, but none of this should be taken as gospel, if it seems weird then that is because it is weird and wasn't thought through!

The authorizer should implement HDFS' internal authorizer interface, serialize the relevant information from the context and forward it to a configurable OPA server.

Configuration could either be done via the HDFS config mechanism or in a first stage via environment variables.

Tasks

  1. 0 of 5
    release/2024-03
    sbernauer
@soenkeliebau soenkeliebau transferred this issue from stackabletech/issues Sep 27, 2023
@sbernauer sbernauer moved this from Next to Refinement: In Progress in Stackable Engineering Jan 25, 2024
@sbernauer sbernauer self-assigned this Jan 25, 2024
@sbernauer sbernauer moved this from Refinement: In Progress to Development: In Progress in Stackable Engineering Jan 26, 2024
@lfrancke
Copy link
Member

lfrancke commented Feb 1, 2024

I just looked at the Group Mapper and just wanted to give a heads-up that I'd like Java projects to follow the example of the Druid Authorizer in terms of code style and setup etc.

(I haven't looked at your code yet)

I can help if needed.

@sbernauer
Copy link
Member

Alright 👍

@sbernauer sbernauer moved this from Development: In Progress to Development: Done in Stackable Engineering Feb 28, 2024
@sbernauer sbernauer added release-note Denotes a PR that will be considered when it comes time to generate release notes. changelog/crd-change release/2024-03 and removed scheduled-for/2024-03 labels Feb 28, 2024
@lfrancke lfrancke moved this from Development: Done to Acceptance: In Progress in Stackable Engineering Mar 5, 2024
@lfrancke
Copy link
Member

lfrancke commented Mar 5, 2024

Please link to documentation here

@sbernauer
Copy link
Member

@lfrancke lfrancke moved this from Acceptance: In Progress to Done in Stackable Engineering Mar 11, 2024
@lfrancke lfrancke added the release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/2024-03 release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants