mantaJob.errors: Returns JSON Manta error messages given Manta job identifier.

Description Usage Arguments See Also Examples

View source: R/mantaJob.errors.R

Description

JSON error message return values:
Name : Type. Description.
------------------------
id : String. Job id.
phase : Number. Phase number of the failure.
what : String. A human readable summary of what failed.
code : String. Programmatic error code.
message : String. Human readable error message.
stderr : String (optional). A key that saved the stderr for the given command.
key : String (optional). The input key being processed when the task failed (if the service can determine it).

Usage

1
mantaJob.errors(jobid, readable = TRUE)

Arguments

jobid

character optional. Manta job identifier such as "70c30bab-873b-66da-ebc8-ced12bd35ac4". Default uses mantaJobs.tail to fetch the jobid of the last Manta Job run on the service.

readable

logical. Set to FALSE to return the JSON error strings, or NULL if no errors found. Default TRUE pretty prints JSON to the console.

See Also

Other mantaJobs: mantaJob.cancel; mantaJob.done; mantaJob.errors.stderr; mantaJob.failures; mantaJob.inputs; mantaJob.launch; mantaJob.outputs.cat; mantaJob.outputs; mantaJob.setup; mantaJob.status; mantaJobs.running; mantaJobs.tail; mantaJobs; mantaMap; mantaReduce

Examples

1
2
3
4
5
## Not run: 
## Check if the last run Manta job had errors:
mantaJob.errors()

## End(Not run)

joyent/mantaRSDK documentation built on May 19, 2019, 10:43 p.m.