public interface CommandsResourceV11 extends CommandsResource
Modifier and Type | Method and Description |
---|---|
ApiCommand |
retry(long commandId)
Try to rerun a command.
|
abortCommand, readCommand
@Path(value="/{commandId}/retry") ApiCommand retry(long commandId)
Note: Only command that supports retry is UpgradeCluster.
ApiCommand.isCanRetry()
will be true for only
UpgradeCluster command.
commandId
- ID of the command that needs to be run.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.