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 authentication mechanism #1

Open
kmaehashi opened this issue May 20, 2015 · 2 comments
Open

Implement authentication mechanism #1

kmaehashi opened this issue May 20, 2015 · 2 comments
Assignees

Comments

@kmaehashi
Copy link
Member

Currently JubaQL Gateway does not support any kind of authentication.
This means that privileges of the user who runs JubaQL gateway is used to submit jobs to YARN cluster (and to access HDFS resources.)

To support the true multi-tenancy, JubaQL gateway should implement authentication mechanism.
hadoop-auth library, which is a servlet filter used to support simple / Kerberos authentication against HTTP API / Web UI of Hadoop components, seems like a reasonable choice.
Gateway can then impersonate another user using proxy user feature of Hadoop.

Now I'm working on migrating the unfiltered backend from Netty to Jetty to use servlet filter.
Any concerns?

cc: @tgpfeiffer

@kmaehashi kmaehashi self-assigned this May 20, 2015
@tgpfeiffer
Copy link
Contributor

I am not very familiar with Hadoop authentication, so I can't comment on that. Regarding the Netty/Jetty change in the gateway I don't see any particular problem. (In the JubaQL Processor, touching anything that involves netty will probably lead to dependency issues, though.)

@kmaehashi
Copy link
Member Author

Thanks for the followup!

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

2 participants