hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1052) Map tasks not getting killed
Date Wed, 28 Feb 2007 21:59:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476733
] 

Doug Cutting commented on HADOOP-1052:
--------------------------------------

Can you please supply a standalone unit test that illustrates this, preferably using MiniMRCluster?
 Thanks!

> Map tasks not getting killed
> ----------------------------
>
>                 Key: HADOOP-1052
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1052
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.11.2
>         Environment: Redhat, 8 node cluster
>            Reporter: Srikanth Kakani
>
> -----------Steps to reproduce---------
> 1. Create and compile a map reduce application with 
> public void map(WritableComparable key,
>                     Writable value,
>                     OutputCollector output, Reporter reporter) throws IOException {
>      reporter.setStatus("Started");
>     Thread.sleep(3600000);
>     report.setStatus("Should have been killed"); 
> }
> 2. Run the task with the default hadoop configuration: 
> <property>
>   <name>mapred.task.timeout</name>
>   <value>1200000</value>
>   <description>The number of milliseconds before a task will be
>   terminated if it neither reads an input, writes an output, nor
>   updates its status string.
>   </description>
> </property>
> ----------------Result------------------
> The task does not get killed, and the job is successful
> ----------------Expected Result------------------
> The map tasks get killed and the job should fail.
> -Srikanth
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message