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] Updated: (HADOOP-673) the task execution environment should have a current working directory that is task specific
Date Tue, 05 Dec 2006 21:59:23 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-673?page=all ]

Doug Cutting updated HADOOP-673:
--------------------------------

    Status: Open  (was: Patch Available)

This patch changes fullyDelete() to run 'rm -rf'.  We should only rely on unix command-line
tools when we absolutely must, and I don't think we have to here.  Instead, before listing
a directory, we should compare getAbsoluteFile() to getCanonicalFile() to determine whether
it's a symbolic link.  If it is a symbolic link, then we should ignore it.

Also, perhaps most of the code added to TaskRunner could be instead added to DistributedCache,
since it's cache-specific stuff?

> the task execution environment should have a current working directory that is task specific
> --------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-673
>                 URL: http://issues.apache.org/jira/browse/HADOOP-673
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.7.2
>            Reporter: Owen O'Malley
>         Assigned To: Mahadev konar
>         Attachments: cwd.patch
>
>
> The tasks should be run in a work directory that is specific to a single task. In particular,
I'd suggest using the <local>/jobcache/<jobid>/<taskid> as the current working
directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message