com.cloudera.api.v14
Interface ServicesResourceV14

All Superinterfaces:
ServicesResource, ServicesResourceV10, ServicesResourceV11, ServicesResourceV13, ServicesResourceV2, ServicesResourceV3, ServicesResourceV4, ServicesResourceV6, ServicesResourceV7, ServicesResourceV8
All Known Subinterfaces:
ServicesResourceV15, ServicesResourceV16, ServicesResourceV17, ServicesResourceV18

public interface ServicesResourceV14
extends ServicesResourceV13


Method Summary
 NameservicesResourceV14 getNameservicesResource(String serviceName)
          Returns the nameservices resource handler.
 WatchedDirResource getWatchedDirResource(String serviceName)
          Returns the watched directory resource handler.
 ApiCommand oozieDumpDatabaseCommand(String serviceName)
          Dump the Oozie Server Database.
 ApiCommand oozieLoadDatabaseCommand(String serviceName)
          Load the Oozie Server Database from dump.
 
Methods inherited from interface com.cloudera.api.v13.ServicesResourceV13
createYarnCmContainerUsageInputDirCommand, getReplicationsResource
 
Methods inherited from interface com.cloudera.api.v11.ServicesResourceV11
getRolesResource, readService
 
Methods inherited from interface com.cloudera.api.v10.ServicesResourceV10
getRoleCommandsResource, hueDumpDbCommand, hueLoadDbCommand, hueSyncDbCommand, oozieCreateEmbeddedDatabaseCommand, sqoopCreateDatabaseTablesCommand
 
Methods inherited from interface com.cloudera.api.v8.ServicesResourceV8
collectYarnApplicationDiagnostics, disableLlamaHaCommand, disableLlamaRmCommand, enableLlamaHaCommand, enableLlamaRmCommand, hdfsFinalizeRollingUpgrade, sentryUpgradeDatabaseTablesCommand, yarnFormatStateStore
 
Methods inherited from interface com.cloudera.api.v7.ServicesResourceV7
firstRun, sentryCreateDatabaseCommand, sentryCreateDatabaseTablesCommand
 
Methods inherited from interface com.cloudera.api.v6.ServicesResourceV6
createImpalaUserDirCommand, createYarnJobHistoryDirCommand, createYarnNodeManagerRemoteAppLogDirCommand, disableOozieHaCommand, disableRmHaCommand, enableOozieHaCommand, enableRmHaCommand, getImpalaQueriesResource, getSnapshotsResource, getYarnApplicationsResource, hbaseUpgradeCommand, hdfsDisableNnHaCommand, hdfsEnableNnHaCommand, hdfsUpgradeMetadataCommand, hiveUpgradeMetastoreCommand, impalaCreateCatalogDatabaseCommand, impalaCreateCatalogDatabaseTablesCommand, importMrConfigsIntoYarn, listServiceCommands, oozieUpgradeDbCommand, serviceCommandByName, sqoopUpgradeDbCommand, switchToMr2
 
Methods inherited from interface com.cloudera.api.v4.ServicesResourceV4
createHiveUserDirCommand, createSolrHdfsHomeDirCommand, createSqoopUserDirCommand, disableJtHaCommand, enableJtHaCommand, getHdfsUsageReport, getMrUsageReport, 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
 
Methods inherited from interface com.cloudera.api.v1.ServicesResource
createBeeswaxWarehouseCommand, createHBaseRootCommand, createServices, decommissionCommand, deleteService, deployClientConfigCommand, getActivitiesResource, getMetrics, hdfsDisableAutoFailoverCommand, hdfsDisableHaCommand, hdfsEnableAutoFailoverCommand, hdfsEnableHaCommand, hdfsFailoverCommand, listActiveCommands, listRoleTypes, readService, readServiceConfig, readServices, restartCommand, startCommand, stopCommand, updateServiceConfig, zooKeeperCleanupCommand, zooKeeperInitCommand
 

Method Detail

getWatchedDirResource

@Path(value="/{serviceName}/watcheddir")
WatchedDirResource getWatchedDirResource(String serviceName)
Returns the watched directory resource handler.

Parameters:
serviceName - The service name.
Returns:
the watched directory resource handler

getNameservicesResource

@Path(value="/{serviceName}/nameservices")
NameservicesResourceV14 getNameservicesResource(String serviceName)
Returns the nameservices resource handler.

Specified by:
getNameservicesResource in interface ServicesResource
Parameters:
serviceName - The service name.
Returns:
The nameservices resource handler.

oozieDumpDatabaseCommand

@Path(value="/{serviceName}/commands/oozieDumpDatabase")
ApiCommand oozieDumpDatabaseCommand(String serviceName)
Dump the Oozie Server Database.

Parameters:
serviceName - The name of the service
Returns:
Information about the submitted command.

oozieLoadDatabaseCommand

@Path(value="/{serviceName}/commands/oozieLoadDatabase")
ApiCommand oozieLoadDatabaseCommand(String serviceName)
Load the Oozie Server Database from dump.

Parameters:
serviceName - The name of the service
Returns:
Information about the submitted command.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.