|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServicesResourceV7
| Method Summary | |
|---|---|
ApiCommand |
firstRun(String serviceName)
Prepare and start a service. |
ApiCommand |
sentryCreateDatabaseCommand(String serviceName)
Create the Sentry Server Database. |
ApiCommand |
sentryCreateDatabaseTablesCommand(String serviceName)
Create the Sentry Server Database tables. |
| Methods inherited from interface com.cloudera.api.v4.ServicesResourceV4 |
|---|
createHiveUserDirCommand, createSolrHdfsHomeDirCommand, createSqoopUserDirCommand, disableJtHaCommand, enableJtHaCommand, getHdfsUsageReport, getMrUsageReport, getReplicationsResource, hiveCreateMetastoreDatabaseCommand, hiveUpdateMetastoreNamenodesCommand, initSolrCommand |
| Methods inherited from interface com.cloudera.api.v3.ServicesResourceV3 |
|---|
createHiveWarehouseCommand, getRoleConfigGroupsResource, hdfsRollEditsCommand, hiveCreateMetastoreDatabaseTablesCommand, installOozieShareLib, rollingRestart, updateService |
| Methods inherited from interface com.cloudera.api.v2.ServicesResourceV2 |
|---|
createOozieDb, enterMaintenanceMode, exitMaintenanceMode, getClientConfig, hdfsCreateTmpDir, recommissionCommand |
| Method Detail |
|---|
@Path(value="/{serviceName}/commands/firstRun")
ApiCommand firstRun(String serviceName)
Perform all the steps needed to prepare the service and start it.
Available since API v7.
serviceName - The name of the cluster.
@Path(value="/{serviceName}/commands/sentryCreateDatabase")
ApiCommand sentryCreateDatabaseCommand(String serviceName)
This command is to be run whenever a new user and database need to be created in the embedded postgresql database for a Sentry service. This command should usually be followed by a call to sentryCreateDatabaseTables.
Available since API v7.
serviceName - Name of the Sentry service on which to run the command.
@Path(value="/{serviceName}/commands/sentryCreateDatabaseTables")
ApiCommand sentryCreateDatabaseTablesCommand(String serviceName)
This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when Sentry Server is stopped.
Available since API v7.
serviceName - Name of the Sentry service on which to run the command.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||