Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86AD011291 for ; Wed, 3 Sep 2014 20:10:53 +0000 (UTC) Received: (qmail 14647 invoked by uid 500); 3 Sep 2014 20:10:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 14597 invoked by uid 500); 3 Sep 2014 20:10:53 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 14584 invoked by uid 99); 3 Sep 2014 20:10:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 20:10:53 +0000 Date: Wed, 3 Sep 2014 20:10:53 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6959) make user home directory customizable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)