hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Radia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-593) Support for getting user home dir from server side
Date Thu, 19 May 2011 21:39:48 GMT

    [ https://issues.apache.org/jira/browse/HDFS-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036503#comment-13036503

Sanjay Radia commented on HDFS-593:

Lets revist this issue.
When writing the tests for viewfs's trashbin, (see HADOOP-7284), I had to take into account
the tests ran on mac or linux boxes or hdfs each of which have different notions of the home

When this Jira was filed, the proposal was that the home dir is SS config. Made sense to me.

With viewfs (ie client-side mount table) there is no server side and further the client side
mount table points to multiple file servers. Since viewfs is configured via config variables
it is quite easy to add a config variable for this. I proposed that in HADOOP-7284 and Todd

But I think this topic deserves a fresh look: 
* For HDFS, homme-dir is a SS property with a default of /user, for viewfs determined from
viewfs's config, and for localfs, figured out dynamically.
* Home dir is config variable with a default of /user and for viewfs determined from its config
so that it can adapt to mounts of localfs and hdfs.

> Support for getting user home dir from server side
> --------------------------------------------------
>                 Key: HDFS-593
>                 URL: https://issues.apache.org/jira/browse/HDFS-593
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
> This is a sub-task of HADOOP-4952. Currently the Path of user home dir is constructed
on the client side using convention "/user/$USER". HADOOP-4952 calls for it to be retrieved
from server side.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message