On Mon, 2005-11-07 at 18:12 -0800, Paul Baclace wrote:
> Rod Taylor wrote:
> > NDFS accomplishes the above path finding by auto-prefixing any path not
> > beginning with / with a /user/$USER. I didn't think it was appropriate
> > for LocalFileSystem.java to be mucking around trying to automatically
> > adjust paths to what the user may have intended.
> > 
> 
> Grep-ing for /user, NDFSFileSystem has:
>     "/user/" + System.getProperty("user.name") + "/"
> 
> I would think this is not consistent with the idea that properties
> and filenames working identically on all machines.  Perhaps this
> NDFSFileSystem line should use mapred.system.dir

Quite possibly.  Either way I was just trying to demonstrate that
multiple tasktrackers, regardless of whether it is NDFS or local
filesystem, requires the path expansion.

I don't think it should be a filesystem level item at all and should be
up to the code requesting the job to be done.

-- 
Rod Taylor <[EMAIL PROTECTED]>

Reply via email to