hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6959) make user home directory customizable
Date Wed, 03 Sep 2014 04:55:52 GMT

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

Yongjun Zhang commented on HDFS-6959:
-------------------------------------

HI [~cmccabe] and [~schu], thanks for the review, I uploaded a new rev HDFS-6959.001.patch
to address the comments from both of you. 
{quote}
+ private String home_dir_base = DFSConfigKeys.DFS_USER_HOME_BASE_DIR_DEFAULT;
Should be final
{quote}
Actually it can not because the value is reset in initialize() method based on config setting.
Would you please take a look at the new revision? thanks.




> make user home directory customizable
> -------------------------------------
>
>                 Key: HDFS-6959
>                 URL: https://issues.apache.org/jira/browse/HDFS-6959
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 2.2.0
>            Reporter: Kevin Odell
>            Assignee: Yongjun Zhang
>            Priority: Minor
>         Attachments: HADOOP-10334.001.patch, HADOOP-10334.002.patch, HADOOP-10334.002.patch,
HDFS-6959.001.patch
>
>
> The path is currently hardcoded:
> public Path getHomeDirectory() {
>     return makeQualified(new Path("/user/" + dfs.ugi.getShortUserName()));
>   }
> It would be nice to have that as a customizable value.  
> Thank you



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message