com.cloudera.api.v8
Interface RoleCommandsResourceV8

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

public interface RoleCommandsResourceV8
extends RoleCommandsResourceV6


Method Summary
 ApiBulkCommandList jmapDump(ApiRoleNameList roleNames)
          Run the jmapDump diagnostic command.
 ApiBulkCommandList jmapHisto(ApiRoleNameList roleNames)
          Run the jmapHisto diagnostic command.
 ApiBulkCommandList jstack(ApiRoleNameList roleNames)
          Run the jstack diagnostic command.
 ApiBulkCommandList lsof(ApiRoleNameList roleNames)
          Run the lsof diagnostic command.
 
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, refreshCommand, restartCommand, startCommand, stopCommand, syncHueDbCommand, zooKeeperCleanupCommand, zooKeeperInitCommand
 

Method Detail

lsof

@Path(value="/lsof")
ApiBulkCommandList lsof(ApiRoleNameList roleNames)
Run the lsof diagnostic command. This command runs the lsof utility to list a role's open files.

Available since API v8.

Parameters:
roleNames - the names of the roles to lsof.
Returns:
List of submitted commands.

jstack

@Path(value="/jstack")
ApiBulkCommandList jstack(ApiRoleNameList roleNames)
Run the jstack diagnostic command. The command runs the jstack utility to capture a role's java thread stacks.

Available since API v8.

Parameters:
roleNames - the names of the roles to jstack.
Returns:
List of submitted commands.

jmapHisto

@Path(value="/jmapHisto")
ApiBulkCommandList jmapHisto(ApiRoleNameList roleNames)
Run the jmapHisto diagnostic command. The command runs the jmap utility to capture a histogram of the objects on the role's java heap.

Available since API v8.

Parameters:
roleNames - the names of the roles to jmap.
Returns:
List of submitted commands.

jmapDump

@Path(value="/jmapDump")
ApiBulkCommandList jmapDump(ApiRoleNameList roleNames)
Run the jmapDump diagnostic command. The command runs the jmap utility to capture a dump of the role's java heap.

Available since API v8.

Parameters:
roleNames - the names of the roles to jmap.
Returns:
List of submitted commands.


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