public interface MgmtRolesResourceV8 extends MgmtRolesResource
Modifier and Type | Method and Description |
---|---|
InputStream |
getFullLog(String roleName)
Retrieves the log file for the role's main process.
|
InputStream |
getStacksLog(String roleName)
Retrieves the stacks log file, if any, for the role's main process.
|
InputStream |
getStacksLogsBundle(String roleName)
Download a zip-compressed archive of role stacks logs.
|
InputStream |
getStandardError(String roleName)
Retrieves the role's standard error output.
|
InputStream |
getStandardOutput(String roleName)
Retrieves the role's standard output.
|
createRoles, deleteRole, listActiveCommands, readRole, readRoleConfig, readRoles, updateRoleConfig
@Path(value="/{roleName}/logs/full") InputStream getFullLog(String roleName)
If the role is not started, this will be the log file associated with the last time the role was run.
Log files are returned as plain text (type "text/plain").
roleName
- The role to fetch logs from.@Path(value="/{roleName}/logs/stdout") InputStream getStandardOutput(String roleName)
If the role is not started, this will be the output associated with the last time the role was run.
Log files are returned as plain text (type "text/plain").
roleName
- The role to fetch stdout from.@Path(value="/{roleName}/logs/stderr") InputStream getStandardError(String roleName)
If the role is not started, this will be the output associated with the last time the role was run.
Log files are returned as plain text (type "text/plain").
roleName
- The role to fetch stderr from.@Path(value="/{roleName}/logs/stacks") InputStream getStacksLog(String roleName)
roleName
- The role to fetch stacks logs from.@Path(value="/{roleName}/logs/stacksBundle") InputStream getStacksLogsBundle(String roleName)
roleName
- The role to fetch the stacks logs bundle from.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.