public interface RoleCommandsResourceV10 extends RoleCommandsResourceV8
| Modifier and Type | Method and Description |
|---|---|
ApiBulkCommandList |
refreshCommand(ApiRoleNameList roleNames)
Refresh a role's data.
|
jmapDump, jmapHisto, jstack, lsofroleCommandByNamehdfsEnterSafemode, hdfsLeaveSafemode, hdfsSaveNamespacehdfsFinalizeMetadataUpgradeformatCommand, hdfsBootstrapStandByCommand, hdfsInitializeAutoFailoverCommand, hdfsInitializeSharedDirCommand, restartCommand, startCommand, stopCommand, syncHueDbCommand, zooKeeperCleanupCommand, zooKeeperInitCommand@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 RoleCommandsResourceroleNames - The names of the roles.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.