com.cloudera.api.v4
Interface RoleCommandsResourceV4
- All Superinterfaces:
- RoleCommandsResource, RoleCommandsResourceV3
- All Known Subinterfaces:
- RoleCommandsResourceV10, RoleCommandsResourceV6, RoleCommandsResourceV8
public interface RoleCommandsResourceV4
- extends RoleCommandsResourceV3
Methods inherited from interface com.cloudera.api.v1.RoleCommandsResource |
formatCommand, hdfsBootstrapStandByCommand, hdfsInitializeAutoFailoverCommand, hdfsInitializeSharedDirCommand, refreshCommand, restartCommand, startCommand, stopCommand, syncHueDbCommand, zooKeeperCleanupCommand, zooKeeperInitCommand |
hdfsSaveNamespace
@Path(value="/hdfsSaveNamespace")
ApiBulkCommandList hdfsSaveNamespace(ApiRoleNameList roleNames)
- Save namespace for namenodes
Available since API v4.
- Parameters:
roleNames
- NameNodes for which to save namespace.
- Returns:
- List of submitted commands.
hdfsEnterSafemode
@Path(value="/hdfsEnterSafemode")
ApiBulkCommandList hdfsEnterSafemode(ApiRoleNameList roleNames)
- Enter safemode for namenodes
Available since API v4.
- Parameters:
roleNames
- NameNodes for which to enter safemode.
- Returns:
- List of submitted commands.
hdfsLeaveSafemode
@Path(value="/hdfsLeaveSafemode")
ApiBulkCommandList hdfsLeaveSafemode(ApiRoleNameList roleNames)
- Leave safemode for namenodes
Available since API v4.
- Parameters:
roleNames
- NameNodes for which to leave safemode.
- Returns:
- List of submitted commands.
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.