public interface ServicesResourceV7 extends ServicesResourceV6
Modifier and Type | Method and Description |
---|---|
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.
|
createImpalaUserDirCommand, createYarnJobHistoryDirCommand, createYarnNodeManagerRemoteAppLogDirCommand, disableOozieHaCommand, disableRmHaCommand, enableOozieHaCommand, enableRmHaCommand, getImpalaQueriesResource, getRoleCommandsResource, getRolesResource, getSnapshotsResource, getYarnApplicationsResource, hbaseUpgradeCommand, hdfsDisableNnHaCommand, hdfsEnableNnHaCommand, hdfsUpgradeMetadataCommand, hiveUpgradeMetastoreCommand, impalaCreateCatalogDatabaseCommand, impalaCreateCatalogDatabaseTablesCommand, importMrConfigsIntoYarn, listServiceCommands, oozieUpgradeDbCommand, serviceCommandByName, sqoopUpgradeDbCommand, switchToMr2
createHiveUserDirCommand, createSolrHdfsHomeDirCommand, createSqoopUserDirCommand, disableJtHaCommand, enableJtHaCommand, getHdfsUsageReport, getMrUsageReport, getReplicationsResource, hiveCreateMetastoreDatabaseCommand, hiveUpdateMetastoreNamenodesCommand, initSolrCommand
createHiveWarehouseCommand, getRoleConfigGroupsResource, hdfsRollEditsCommand, hiveCreateMetastoreDatabaseTablesCommand, installOozieShareLib, rollingRestart, updateService
createOozieDb, enterMaintenanceMode, exitMaintenanceMode, getClientConfig, hdfsCreateTmpDir, recommissionCommand
createBeeswaxWarehouseCommand, createHBaseRootCommand, createServices, decommissionCommand, deleteService, deployClientConfigCommand, getActivitiesResource, getMetrics, getNameservicesResource, hdfsDisableAutoFailoverCommand, hdfsDisableHaCommand, hdfsEnableAutoFailoverCommand, hdfsEnableHaCommand, hdfsFailoverCommand, listActiveCommands, listRoleTypes, readService, readServiceConfig, readServices, restartCommand, startCommand, stopCommand, updateServiceConfig, zooKeeperCleanupCommand, zooKeeperInitCommand
@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.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.