public interface ServicesResourceV2 extends ServicesResource
Modifier and Type | Method and Description |
---|---|
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.
|
createBeeswaxWarehouseCommand, createHBaseRootCommand, createServices, decommissionCommand, deleteService, deployClientConfigCommand, getActivitiesResource, getMetrics, getNameservicesResource, getRoleCommandsResource, hdfsDisableAutoFailoverCommand, hdfsDisableHaCommand, hdfsEnableAutoFailoverCommand, hdfsEnableHaCommand, hdfsFailoverCommand, listActiveCommands, listRoleTypes, readService, readServiceConfig, readServices, restartCommand, startCommand, stopCommand, updateServiceConfig, zooKeeperCleanupCommand, zooKeeperInitCommand
@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.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.