[ 
https://issues.apache.org/jira/browse/PIG-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohini Palaniswamy resolved PIG-1556.
-------------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 0.9.1)

  The kill command is just same as hadoop job kill to be used in the grunt 
shell. It does not kill all jobs launched by a pig script.  

Pig automatically kills all the jobs launched by it in it is shutdown hook. So 
kill -15 of the pig client process or doing a Ctrl+C will kill the pig script 
and jobs launched by it. So closing this requirement as Wont Fix.

> 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
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to