hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-448) DistributedFileSystem uses the wrong user.name to set the working directory.
Date Fri, 11 Aug 2006 20:33:14 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-448?page=comments#action_12427619 ] 
            
Benjamin Reed commented on HADOOP-448:
--------------------------------------

Okay, I guess the problem is that JobTracker does not call setWorkingDirectory() before invoking
the InputFormat. (That is where I hit this problem.) If we did the initialization properly
in DistributedFileSystem, we wouldn't have to worry about calling setWorkingDirectory()

> DistributedFileSystem uses the wrong user.name to set the working directory.
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-448
>                 URL: http://issues.apache.org/jira/browse/HADOOP-448
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Benjamin Reed
>
> DistributedFileSystem initializes the working directory to be new Path("/user", System.getProperty("user.name"));
rather than new Path("/user", conf.get("user.name")); the initialization would have to be
moved to the constructor to access conf.
> If relative paths are used, the remote tasks and JobTracker will use the uid they are
running with rather than the id of the user that submitted the job.

-- 
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