com.cloudera.api.v6
Interface RoleCommandsResourceV6

All Superinterfaces:
RoleCommandsResource, RoleCommandsResourceV3, RoleCommandsResourceV4
All Known Subinterfaces:
RoleCommandsResourceV10, RoleCommandsResourceV8

public interface RoleCommandsResourceV6
extends RoleCommandsResourceV4


Method Summary
 ApiBulkCommandList roleCommandByName(String commandName, ApiRoleNameList roleNames)
          Execute a role command by name.
 
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, refreshCommand, restartCommand, startCommand, stopCommand, syncHueDbCommand, zooKeeperCleanupCommand, zooKeeperInitCommand
 

Method Detail

roleCommandByName

@Path(value="/{commandName}")
ApiBulkCommandList roleCommandByName(String commandName,
                                          ApiRoleNameList roleNames)
Execute a role command by name.

Available since API v6.

Parameters:
commandName - the name of command to execute.
roleNames - the roles to run this command on.
Returns:
List of submitted commands.


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