hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6959) make user home directory customizable
Date Wed, 03 Sep 2014 20:10:53 GMT

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

Colin Patrick McCabe commented on HDFS-6959:
--------------------------------------------

bq. Actually it can not because the value is reset in initialize() method based on config
setting.

Oops, you're right.  I had forgotten about that initialize() paradigm we use here instead
of a constructor.

bq. Would you please take a look at the new revision? thanks.

Can we call this "home directory prefix" instead of "home dir base"?  It seems clearer.  Similarly,
homeDirBase -> homeDirectoryPrefix, etc.

+1 once that's addressed

> 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