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

hemanthboyina updated HADOOP-17059:
-----------------------------------
    Description: 
In Viewfilesystem#listStatus , we get groupnames of ugi , If groupnames doesn't 
exists  it will throw AIOBE
{code:java}
        else {
          result[i++] = new FileStatus(0, true, 0, 0,
            creationTime, creationTime, PERMISSION_555,
            ugi.getShortUserName(), ugi.getGroupNames()[0],
            new Path(inode.fullPath).makeQualified(
                myUri, null));
        } {code}
 

> ArrayIndexOfboundsException in ViewFileSystem#listStatus
> --------------------------------------------------------
>
>                 Key: HADOOP-17059
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17059
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: hemanthboyina
>            Assignee: hemanthboyina
>            Priority: Major
>
> In Viewfilesystem#listStatus , we get groupnames of ugi , If groupnames 
> doesn't exists  it will throw AIOBE
> {code:java}
>         else {
>           result[i++] = new FileStatus(0, true, 0, 0,
>             creationTime, creationTime, PERMISSION_555,
>             ugi.getShortUserName(), ugi.getGroupNames()[0],
>             new Path(inode.fullPath).makeQualified(
>                 myUri, null));
>         } {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to