Custom - Map Reduce - Remove Job

/custom/mapreduce/removejob/{jobidortitle}?removeJar=[true|1|false|0]

Removes a hadoop map reduce job and any data associated with it. This will not delete a jobs jar file if it is found in our share system.

A job must not be running when attempting to remove it, an error will be reported if you do not wait until a job finishes.

 

A simple web-based utility is available for uploading JARs and managing jobs.

Authentication

Required, see Auth - Login.

Arguments

jobidortitle (required)
The id or title of title of a job to be removed.

removeJar (optional)
If set to true or 1 will attempt to remove the jar after removing the job, will fail if the jar is used elsewhere or you aren't the owner. False by default, will not delete jar.

Example

http://infinite.ikanow.com/api/custom/mapreduce/removejob/4e9c77ef17ef3523b657a890?removeJar=false

cURL - Login, Get Map Reduce Jobs, Get Map Reduce Job Results, LogoutJava Example

Example Response
{"response":{"action":"Remove MapReduce Job","success":true,"message":"Job removed successfully"}
Error Response
{"response":{"action":"Remove MapReduce Job","success":false,"message":"Job is currently running (or not yet marked as completed).  Please wait until the job completes to update it.","time":142}}