|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoleCommandsResourceV10
Method Summary | |
---|---|
ApiBulkCommandList |
refreshCommand(ApiRoleNameList roleNames)
Refresh a role's data. |
Methods inherited from interface com.cloudera.api.v8.RoleCommandsResourceV8 |
---|
jmapDump, jmapHisto, jstack, lsof |
Methods inherited from interface com.cloudera.api.v6.RoleCommandsResourceV6 |
---|
roleCommandByName |
Methods inherited from interface com.cloudera.api.v4.RoleCommandsResourceV4 |
---|
hdfsEnterSafemode, hdfsLeaveSafemode, hdfsSaveNamespace |
Methods inherited from interface com.cloudera.api.v3.RoleCommandsResourceV3 |
---|
hdfsFinalizeMetadataUpgrade |
Methods inherited from interface com.cloudera.api.v1.RoleCommandsResource |
---|
formatCommand, hdfsBootstrapStandByCommand, hdfsInitializeAutoFailoverCommand, hdfsInitializeSharedDirCommand, restartCommand, startCommand, stopCommand, syncHueDbCommand, zooKeeperCleanupCommand, zooKeeperInitCommand |
Method Detail |
---|
@Path(value="/refresh") ApiBulkCommandList refreshCommand(ApiRoleNameList roleNames)
For MapReduce services, this command should be executed on JobTracker roles. It refreshes the role's queue and node information.
For HDFS services, this command should be executed on NameNode or DataNode roles. For NameNodes, it refreshes the role's node list. For DataNodes, it refreshes the role's data directory list and other configuration.
For YARN services, this command should be executed on ResourceManager roles. It refreshes the role's queue and node information.
Available since API v1. DataNode data directories refresh available since API v10.
refreshCommand
in interface RoleCommandsResource
roleNames
- The names of the roles.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |