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

2017-03-08 Thread Jitendra Nath Pandey (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jitendra Nath Pandey updated HADOOP-14150:
--
Reporter: Namit Maheshwari  (was: Santhosh G Nayak)

> 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-alpha3
>
> 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
(v6.3.15#6346)

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



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

2017-03-07 Thread Mingliang Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14150:
---
Priority: Critical  (was: Major)

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
>Priority: Critical
> Fix For: 2.9.0, 3.0.0-alpha3
>
> 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
(v6.3.15#6346)

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



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

2017-03-07 Thread Mingliang Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14150:
---
Fix Version/s: 3.0.0-alpha3
   2.9.0

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> Fix For: 2.9.0, 3.0.0-alpha3
>
> 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
(v6.3.15#6346)

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



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

2017-03-07 Thread Mingliang Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14150:
---
Target Version/s: 2.9.0, 3.0.0-alpha3  (was: 2.9.0, 3.0.0-alpha2)

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> Fix For: 2.9.0, 3.0.0-alpha3
>
> 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
(v6.3.15#6346)

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



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

2017-03-07 Thread Mingliang Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14150:
---
  Resolution: Fixed
Target Version/s: 3.0.0-alpha2, 2.9.0  (was: 2.9.0, 3.0.0-alpha2)
  Status: Resolved  (was: Patch Available)

Committed to {{trunk}} and {{branch-2}} branches. Thanks for your contribution 
[~snayak].

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> 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
(v6.3.15#6346)

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



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

2017-03-07 Thread Mingliang Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14150:
---
Target Version/s: 3.0.0-alpha2, 2.9.0  (was: 2.9.0, 3.0.0-alpha2)
Hadoop Flags: Reviewed

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> 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
(v6.3.15#6346)

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



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

2017-03-07 Thread Mingliang Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14150:
---
Target Version/s: 3.0.0-alpha2, 2.9.0  (was: 2.9.0)
  Status: Patch Available  (was: Open)

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> 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
(v6.3.15#6346)

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



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

2017-03-06 Thread Santhosh G Nayak (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-14150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Santhosh G Nayak updated HADOOP-14150:
--
Attachment: HADOOP-14150.1.patch

Attaching initial version of the patch containing proposed changes.

> 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: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> 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
(v6.3.15#6346)

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