You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:47:07 UTC

[jira] [Commented] (HADOOP-14150) Implement getHomeDirectory() method in NativeAzureFileSystem

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

Hudson commented on HADOOP-14150:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HADOOP-14150. Implement getHomeDirectory() method in (aengineer: rev afc2c438c1b052ea34057260cbacec6e49d45f6a)
* (edit) hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java


> Implement getHomeDirectory() method in NativeAzureFileSystem
> ------------------------------------------------------------
>
>                 Key: HADOOP-14150
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14150
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/azure
>    Affects Versions: 2.8.0
>            Reporter: Namit Maheshwari
>            Assignee: Santhosh G Nayak
>            Priority: Critical
>             Fix For: 2.9.0, 3.0.0-alpha4
>
>         Attachments: HADOOP-14150.1.patch
>
>
> {{org.apache.hadoop.fs.azure.NativeAzureFileSystem}} does not override {{FileSystem#getHomeDirectory()}} method.
> So, whenever {{NativeAzureFileSystem#getHomeDirectory()}} gets called {{getHomeDirectory()}} from {{FileSystem}} will be invoked, which has code like below,
> {code}
> public Path getHomeDirectory() {
>     return this.makeQualified(
>         new Path(USER_HOME_PREFIX + "/" + System.getProperty("user.name")));
>   }
> {code}
> In secure environment, it returns home directory of {{System.getProperty("user.name")}} instead of Kerberos principal/UGI.
> So, the proposal is to override the {{getHomeDirectory()}} method in {{NativeAzureFileSystem}} and have it return the home directory for the Kerberos principal/ugi.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org