Need a clean way to kill Pig jobs. ---------------------------------- Key: PIG-1556 URL: https://issues.apache.org/jira/browse/PIG-1556 Project: Pig Issue Type: New Feature Components: tools Affects Versions: 0.7.0 Reporter: Aravind Srinivasan Fix For: 0.9.0
We need a way to kill a running Pig script cleanly. This is very similar to " hadoop job -kill" command. This requirement means the following. 1) Support a "pig -kill <script ID>" or a similar syntax. The script ID or some unique handle should be easily available for the user to identify a running Pig job. 2) The command will then identify all the MR jobs that are currently spawned by this given Pig script. 3) It will internally usse "hadoop job -kill" to kill each one of those MR jobs spawned. 4) It will do any other cleanup necessary and also make sure all mappers/reducers emanating from this Pig script are killed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.