|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServicesResourceV2
Method Summary | |
---|---|
ApiCommand |
createOozieDb(String serviceName)
Creates the Oozie Database Schema in the configured database. |
ApiCommand |
enterMaintenanceMode(String serviceName)
Put the service into maintenance mode. |
ApiCommand |
exitMaintenanceMode(String serviceName)
Take the service out of maintenance mode. |
org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource |
getClientConfig(String serviceName)
Download a zip-compressed archive of the client configuration, of a specific service. |
RolesResourceV2 |
getRolesResource(String serviceName)
|
ApiCommand |
hdfsCreateTmpDir(String serviceName)
Creates a tmp directory on the HDFS filesystem. |
ApiCommand |
recommissionCommand(String serviceName,
ApiRoleNameList roleNames)
Recommission roles of a service. |
Method Detail |
---|
@PermitAll @Path(value="/{serviceName}/clientConfig") org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource getClientConfig(String serviceName)
serviceName
- The service name.
@Path(value="/{serviceName}/roles") RolesResourceV2 getRolesResource(String serviceName)
getRolesResource
in interface ServicesResource
@Path(value="/{serviceName}/commands/enterMaintenanceMode") ApiCommand enterMaintenanceMode(String serviceName)
Available since API v2.
serviceName
- The service name.
@Path(value="/{serviceName}/commands/exitMaintenanceMode") ApiCommand exitMaintenanceMode(String serviceName)
Available since API v2.
serviceName
- The service name.
@Path(value="/{serviceName}/commands/recommission") ApiCommand recommissionCommand(String serviceName, ApiRoleNameList roleNames)
The list should contain names of slave roles to recommission.
Available since API v2.
serviceName
- Name of the service on which to run the command.roleNames
- List of role names to recommision.
@Path(value="/{serviceName}/commands/hdfsCreateTmpDir") ApiCommand hdfsCreateTmpDir(String serviceName)
Available since API v2.
serviceName
- Name of the HDFS service on which to run the command.
@Path(value="/{serviceName}/commands/createOozieDb") ApiCommand createOozieDb(String serviceName)
Available since API v2.
serviceName
- Name of the Oozie service on which to run the command.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |