You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2007/01/24 20:32:49 UTC
[jira] Created: (HADOOP-926) control-c of the submitting program
should kill the job
control-c of the submitting program should kill the job
-------------------------------------------------------
Key: HADOOP-926
URL: https://issues.apache.org/jira/browse/HADOOP-926
Project: Hadoop
Issue Type: Improvement
Components: mapred
Affects Versions: 0.10.1
Reporter: Owen O'Malley
Assigned To: Owen O'Malley
Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-926:
---------------------------------
Description: Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies. (was: Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process.)
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468247 ]
Andrzej Bialecki commented on HADOOP-926:
------------------------------------------
I alaways thought this was a feature ... ;) I would sometimes forget to use screen(1), and was extremely grateful that even though I lost my terminal session Hadoop would continue working and complete the job.
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Yoram Arnon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468379 ]
Yoram Arnon commented on HADOOP-926:
------------------------------------
wouldn't simply running the command in the background provide the current behavior?
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468364 ]
Doug Cutting commented on HADOOP-926:
-------------------------------------
> I always thought this was a feature ... ;)
Heh. That was my first thought too. But that behaviour is contrary to most command line programs. The use of MapReduce should be transparent and consistent. Control-C should do the same thing regardless of whether LocalRunner or a JobTracker is used. So I'm +1 for this change.
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468380 ]
Milind Bhandarkar commented on HADOOP-926:
------------------------------------------
>I will likely leave a config option that retains the current behavior,
Rather than proliferating config options, I suggest we provide a SyncJobClient, which terminates the job on ctrl-C, and use it in streaming as default. A "--background" option will use the regular JobClient.
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468418 ]
Owen O'Malley commented on HADOOP-926:
--------------------------------------
The problem with command line switches is that not all applications use the ToolBase class, which in my opinion should be reworked into a library rather than a base class. Certainly it makes sense to add a submitBatchJob method or boolean parameter to control the behavior programmatically (not a new class).
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-926) control-c of the submitting program
should kill the job
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468377 ]
Owen O'Malley commented on HADOOP-926:
--------------------------------------
To be honest, I've used it as a feature too, but it confuses users who don't expect that behavior. I will likely leave a config option that retains the current behavior, but I want the default to be the other way.
> control-c of the submitting program should kill the job
> -------------------------------------------------------
>
> Key: HADOOP-926
> URL: https://issues.apache.org/jira/browse/HADOOP-926
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.10.1
> Reporter: Owen O'Malley
> Assigned To: Owen O'Malley
>
> Currently, if you kill the process that submitted the job, the job continues. The default behavior should be to kill the job if the launching process dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.