public interface RoleCommandsResourceV6 extends RoleCommandsResourceV4
Modifier and Type | Method and Description |
---|---|
ApiBulkCommandList |
roleCommandByName(String commandName,
ApiRoleNameList roleNames)
Execute a role command by name.
|
hdfsEnterSafemode, hdfsLeaveSafemode, hdfsSaveNamespace
hdfsFinalizeMetadataUpgrade
formatCommand, hdfsBootstrapStandByCommand, hdfsInitializeAutoFailoverCommand, hdfsInitializeSharedDirCommand, refreshCommand, restartCommand, startCommand, stopCommand, syncHueDbCommand, zooKeeperCleanupCommand, zooKeeperInitCommand
@Path(value="/{commandName}") ApiBulkCommandList roleCommandByName(String commandName, ApiRoleNameList roleNames)
commandName
- the name of command to execute.roleNames
- the roles to run this command on.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.