Created on 12-18-2014 07:13 AM - edited 09-16-2022 02:16 AM
Hello,
We wanted to deploy a cluster with Cloudera Director with 2 master nodes and 4 slaves nodes.
However, we are having some problems:
- we cannot add more than 1 master in cloudera director
- we cannot make the cluster without a gateway node
- we cannot choose a custom service package (we wanted a package with Impala+HBase but without spark/solr)
- we cannot change the admin password/make another user
Please, can you indicate a documentation that can help us with this ?
Is there any feature list documentation for cloudera director?
What are the benefits of using Cloudera Director insteaed of Cloduera Manager for deployment?
Thank you!
Created on 12-18-2014 09:55 AM - edited 12-18-2014 10:04 AM
Hi Alina!
Created 12-19-2014 06:18 PM
Hey Alina. After discussing this with my colleagues, I wanted to add that there's another option you have for flexible cluster creation. You can utilize the API console. Look under clusters for the POST /api/v1/environments/{environment}/deployments/{deployment}/clusters endpoint:
This will allow you to create a JSON structure that describes a cluster in the way that you desire. It's not as well documented and will require a bit more experimentation to create a cluster correctly. You can get an example JSON by creating a cluster and then navigating to to the /api/v1/environments/{environment}/deployments/{deployment}/clusters/{cluster}/template endpoint. For example, I made an environment called "test-env", a deployment called "test-cm", and a cluster called "test-cluster". By navigating to:
/api/v1/environments/test-env/deployments/test-cm/clusters/test-cluster/template
I get the following output:
Which I can then use as a reference to build a template out of.
You can use either method, the API console or the command line interface, but both will accomplish what you'd like. I just wanted to make sure you had both options!
Created on 12-18-2014 09:55 AM - edited 12-18-2014 10:04 AM
Hi Alina!
Created 12-19-2014 06:18 PM
Hey Alina. After discussing this with my colleagues, I wanted to add that there's another option you have for flexible cluster creation. You can utilize the API console. Look under clusters for the POST /api/v1/environments/{environment}/deployments/{deployment}/clusters endpoint:
This will allow you to create a JSON structure that describes a cluster in the way that you desire. It's not as well documented and will require a bit more experimentation to create a cluster correctly. You can get an example JSON by creating a cluster and then navigating to to the /api/v1/environments/{environment}/deployments/{deployment}/clusters/{cluster}/template endpoint. For example, I made an environment called "test-env", a deployment called "test-cm", and a cluster called "test-cluster". By navigating to:
/api/v1/environments/test-env/deployments/test-cm/clusters/test-cluster/template
I get the following output:
Which I can then use as a reference to build a template out of.
You can use either method, the API console or the command line interface, but both will accomplish what you'd like. I just wanted to make sure you had both options!