title | description | keywords | author | ms.author | manager | ms.date | ms.topic | ms.service | ms.assetid | ROBOTS | audience | ms.devlang | ms.reviewer | ms.suite | ms.tgt_pltfrm | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rxCleanupJobs function (revoAnalytics) | Microsoft Docs |
Removes artifacts created while executing a distributed computing job. |
(revoAnalytics), rxCleanupJobs, IO |
chuckheinzelman |
charlhe |
cgronlun |
07/15/2019 |
reference |
mlserver |
Removes artifacts created while executing a distributed computing job.
rxCleanupJobs(jobInfoList, force = FALSE, verbose = TRUE)
rxJobInfo
object or a list of job objects that can be obtained from rxGetJobs.
logical scalar. If TRUE
, forces removal of job directories even if there are retrievable results or if the current job state is undetermined.
logical scalar. If TRUE
, will print the directories/records being deleted.
If jobInfoList
is a jobInfo
object, rxCleanupJobs
attempts to remove the artifacts.
However, if the job has successfully completed and force=FALSE
,
rxCleanupJobs
issues a warning saying to either set force=TRUE
or use
rxGetJobResults to get the results and delete the artifacts.
If jobInfoList
is a list of jobs, rxCleanupJobs
attempts to apply the cleanup rules
for a single job to each element in the list.
This function is called for its side effects (removing job artifacts); it does not have a useful return value.
Microsoft Corporation Microsoft Technical Support
rxGetJobs, rxGetJobOutput, RxSpark, RxHadoopMR, rxGetJobResults
## Not run:
rxCleanupJobs(jobInfoList = myJobs, force = TRUE)
rxCleanupJobs(rxGetJobs(rxGetOption("computeContext")))
## End(Not run)