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

Sreekanth Ramakrishnan updated HADOOP-6027:
-------------------------------------------

    Attachment: hadoop-6027-1.patch

Attaching a patch which fixes this issue:

* Advancing the pointer in {{check_tt_root()}} function.
* Fixing a bug in {{MiniMRCluster}} which previous didnt use {{numDir}}
* Modified {{ClusterWithLinuxTaskController}} to always use 4 local directories.

> After HADOOP-5420, tasks hang when the taskcontroller.cfg has multiple 
> entries for mapred.local.dir
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6027
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6027
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Vinod K V
>         Attachments: hadoop-6027-1.patch
>
>
> HADOOP-5420 refactored code from taskcontroller.c -> check_tt_root() to 
> configuration.c for reuse. While doing this, this bug got introduced because 
> of which all tasks hang when a cluster is configured with multiple mapred 
> local directories. This happens because of the latest code in check_tt_root() 
> which never advances the mapred_local_dir pointer and gets stuck in an 
> infinite loop.

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

Reply via email to