Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to create separate spaces (sandboxes) inside existing cluster?

Highlighted

How to create separate spaces (sandboxes) inside existing cluster?

Rising Star

Hi. I have a question regarding to Hadoop architecture. I have 10 node cluster and I want to create some kind of sandboxes inside the cluster.
What do I mean by sandbox? Separate space from the whole cluster resources when business users could create some temporary databases, files and run jobs.
A simple solution would be creating a technical user for every sandbox, but I don't want to do it that way. Business users have their own accounts and I want them to run jobs using those accounts.
Maybe the picture will say more:

99441-sandbox2.png


As you can see, the problem is that some jobs should be run by users in main cluster space and some of jobs should be run in specific sandbox.
The question is - how I can achieve this? Does anyone have the idea?

2 REPLIES 2

Re: How to create separate spaces (sandboxes) inside existing cluster?

Rising Star

Within a single cluster, the simplest way to segregate resources for multitenant use would be to use YARN queues. You can set minimum and maximum resource usage by queue and allow pre-emption if needed for critical jobs. If you need to limit access to specific hardware (e.g., a department has paid for its own physical nodes), you can use YARN node labels to isolate specific nodes.

YARN queues:

http://docs.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP3/HDP-3.0.1/data-operating-system/conte...

Node labels:

http://docs.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP3/HDP-3.0.1/data-operating-system/conte...

Re: How to create separate spaces (sandboxes) inside existing cluster?

Rising Star

If this response helps, please mark it as helpful so that it will appear in other searches - if not, please feel free to ask further questions as comments here!

Don't have an account?
Coming from Hortonworks? Activate your account here