/clusters/{clusterName}/services/{serviceName}/roles
Mount Point: /api/v7/clusters/{clusterName}/services/{serviceName}/roles
POST
Create new roles in a given service.
Service Type | Available Role Types |
---|---|
HDFS (CDH3) | NAMENODE, DATANODE, SECONDARYNAMENODE, BALANCER, GATEWAY |
HDFS (CDH4) | NAMENODE, DATANODE, SECONDARYNAMENODE, BALANCER, HTTPFS, FAILOVERCONTROLLER, GATEWAY, JOURNALNODE |
MAPREDUCE | JOBTRACKER, TASKTRACKER, GATEWAY |
HBASE | MASTER, REGIONSERVER, GATEWAY |
YARN | RESOURCEMANAGER, NODEMANAGER, JOBHISTORY, GATEWAY |
OOZIE | OOZIE_SERVER |
ZOOKEEPER | SERVER |
HUE (CDH3) | HUE_SERVER, BEESWAX_SERVER, KT_RENEWER, JOBSUBD |
HUE (CDH4) | HUE_SERVER, BEESWAX_SERVER, KT_RENEWER |
FLUME | AGENT |
IMPALA | IMPALAD, STATESTORE |
HIVE | HIVESERVER2, HIVEMETASTORE, WEBHCAT, GATEWAY |
SOLR | SOLR_SERVER |
SQOOP | SQOOP_SERVER |
Parameters
name | description | type | default |
---|---|---|---|
serviceName | (no documentation provided) | path | |
clusterName | (no documentation provided) | path |
Request Body
element: | roleList |
Roles to create.
Response Body
element: | roleList |
List of created roles.
GET
Lists all roles of a given service.
Parameters
name | description | type | default |
---|---|---|---|
serviceName | (no documentation provided) | path | |
clusterName | (no documentation provided) | path |
Response Body
element: | roleList |
List of roles.