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

Reply via email to