hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-52) mapred input and output dirs must be absolute
Date Fri, 24 Mar 2006 17:02:26 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-52?page=comments#action_12371761 ] 

chris commented on HADOOP-52:

but It seems this code will thown IOException in windows cygwin env......

it can't get file path correctly.

> mapred input and output dirs must be absolute
> ---------------------------------------------
>          Key: HADOOP-52
>          URL: http://issues.apache.org/jira/browse/HADOOP-52
>      Project: Hadoop
>         Type: Bug
>   Components: mapred
>     Versions: 0.1
>     Reporter: Doug Cutting
>     Assignee: Owen O'Malley
>      Fix For: 0.1
>  Attachments: cwd.patch, cwd2.patch, cwd3.patch
> DFS converts relative pathnames to be under /user/$USER.  But MapReduce jobs may be submitted
by a different user than is running the jobtracker and tasktracker.  Thus relative paths must
be resolved before a job is submitted, so that only absolute paths are seen on the job tracker
and tasktracker.  I think the simplest way to fix this is to make JobConf.setInputDir(), setOutputDir(),
etc. resolve relative pathnames. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message