diff --git a/R/file-operations.R b/R/file-operations.R index 4d3fc1a4..f60d1e61 100644 --- a/R/file-operations.R +++ b/R/file-operations.R @@ -59,8 +59,8 @@ getClusterFile <- #' #' @examples #' \dontrun{ -#' stdoutFile <- getJobFile("job20170822055031", "job20170822055031-task1", "stderr.txt") -#' getJobFile("job20170822055031", "job20170822055031-task1", "stdout.txt", downloadPath = "hello.txt") +#' stdoutFile <- getJobFile("job20170822055031", "1", "stderr.txt") +#' getJobFile("job20170822055031", "1", "stdout.txt", downloadPath = "hello.txt") #' } #' @export getJobFile <- diff --git a/R/utility-string.R b/R/utility-string.R index 95fda84a..eec02dea 100644 --- a/R/utility-string.R +++ b/R/utility-string.R @@ -8,7 +8,7 @@ getTaskFailedErrorString <- function(...) { "For more information about getting job logs, follow this link:", paste0( "https://github.com/Azure/doAzureParallel/blob/master/docs/", - "40-troubleshooting.md#viewing-files-directly-from-compute-node" + "90-troubleshooting.md#viewing-files-directly-from-compute-node" ) ) diff --git a/docs/90-troubleshooting.md b/docs/90-troubleshooting.md index 4761137f..b6a83101 100644 --- a/docs/90-troubleshooting.md +++ b/docs/90-troubleshooting.md @@ -26,17 +26,17 @@ setVerbose(FALSE) ``` ### Setting HttpTraffic to Debug -To debug your doAzureParallel jobs, you can set the package to operate on *verbose* mode: +To debug your doAzureParallel jobs, you can set the verbosity for calling httr rest api calls: ```R # turn on verbose mode -setVerbose(TRUE) +setHttpTraffic(TRUE) # turn off verbose mode -setVerbose(FALSE) +setHttpTraffic(FALSE) ``` ### Viewing files from Azure Storage -In every foreach run, the job will push its logs into Azure Storage that can be fetched by the user. For more information on reading log files, check out [managing storage](./41-managing-storage-via-R.md). +In every foreach run, the job will push its logs into Azure Storage that can be fetched by the user. For more information on reading log files, check out [managing storage](./73-managing-storage.md). By default, when wait is set to TRUE, job and its result is automatically deleted after the run is completed. To keep the job and its result for investigation purpose, you can set a global environment setting or specify an option in foreach loop to keep it.