[jira] [Updated] (HADOOP-13820) Replace ugi.getUsername() with ugi.getShortUserName() in viewFS

2016-11-25 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HADOOP-13820:
--
   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 3.0.0-alpha2
   2.8.0
   Status: Resolved  (was: Patch Available)

Committed to trunk,branch-2 and branch-2.8.
[~archanat] thanks for reporting and thanks to [~ajisakaa] and [~manojg] for 
review..


> Replace ugi.getUsername() with ugi.getShortUserName() in viewFS
> ---
>
> Key: HADOOP-13820
> URL: https://issues.apache.org/jira/browse/HADOOP-13820
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: viewfs
>Reporter: Archana T
>Assignee: Brahma Reddy Battula
>Priority: Minor
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: HADOOP-13820-002.patch, HADOOP-13820-003.patch, 
> HADOOP-13820-004.patch, HADOOP-13820-005.patch, HADOOP-13820-006.patch, 
> HADOOP-13820.patch
>
>
> When defaultFS is configured as viewfs --
> fs.defaultFS
> viewfs://CLUSTER/
> List Files showing Realm as User  --
> hdfs dfs -ls /
> Found 2 items
> -r-xr-xr-x   - {color:red} h...@hadoop.com {color} hadoop  0 
> 2016-11-07 15:31 /Dir1
> -r-xr-xr-x   - {color:red} h...@hadoop.com {color} hadoop  0 
> 2016-11-07 15:31 /Dir2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (HADOOP-13820) Replace ugi.getUsername() with ugi.getShortUserName() in viewFS

2016-11-25 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HADOOP-13820:
--
Attachment: HADOOP-13820-006.patch

Uploaded the patch address above comment.

> Replace ugi.getUsername() with ugi.getShortUserName() in viewFS
> ---
>
> Key: HADOOP-13820
> URL: https://issues.apache.org/jira/browse/HADOOP-13820
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: viewfs
>Reporter: Archana T
>Assignee: Brahma Reddy Battula
>Priority: Minor
> Attachments: HADOOP-13820-002.patch, HADOOP-13820-003.patch, 
> HADOOP-13820-004.patch, HADOOP-13820-005.patch, HADOOP-13820-006.patch, 
> HADOOP-13820.patch
>
>
> When defaultFS is configured as viewfs --
> fs.defaultFS
> viewfs://CLUSTER/
> List Files showing Realm as User  --
> hdfs dfs -ls /
> Found 2 items
> -r-xr-xr-x   - {color:red} h...@hadoop.com {color} hadoop  0 
> 2016-11-07 15:31 /Dir1
> -r-xr-xr-x   - {color:red} h...@hadoop.com {color} hadoop  0 
> 2016-11-07 15:31 /Dir2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (HADOOP-13820) Replace ugi.getUsername() with ugi.getShortUserName() in viewFS

2016-11-25 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HADOOP-13820:
--
Summary: Replace ugi.getUsername() with ugi.getShortUserName() in viewFS  
(was: [viewfs] Listfile gives complete Realm as User)

> Replace ugi.getUsername() with ugi.getShortUserName() in viewFS
> ---
>
> Key: HADOOP-13820
> URL: https://issues.apache.org/jira/browse/HADOOP-13820
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: viewfs
>Reporter: Archana T
>Assignee: Brahma Reddy Battula
>Priority: Minor
> Attachments: HADOOP-13820-002.patch, HADOOP-13820-003.patch, 
> HADOOP-13820-004.patch, HADOOP-13820-005.patch, HADOOP-13820.patch
>
>
> When defaultFS is configured as viewfs --
> fs.defaultFS
> viewfs://CLUSTER/
> List Files showing Realm as User  --
> hdfs dfs -ls /
> Found 2 items
> -r-xr-xr-x   - {color:red} h...@hadoop.com {color} hadoop  0 
> 2016-11-07 15:31 /Dir1
> -r-xr-xr-x   - {color:red} h...@hadoop.com {color} hadoop  0 
> 2016-11-07 15:31 /Dir2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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