hadoop-common-dev mailing list archives

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

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

Srikanth Kakani commented on HADOOP-1052:
-----------------------------------------

Hi doug,

I am not familiar with writing test cases, and there is not much
documentation for that in hadoop. Could you please guide me in this (point
me to some documentation, the current tests are more complicated than what I
need to achieve in this). I probably will assign more bugs, and so I might
need to write one myself.

Thanks,
Srikanth







> 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