[
https://issues.apache.org/jira/browse/HADOOP-17059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mingliang Liu updated HADOOP-17059:
-----------------------------------
Fix Version/s: 2.10.1
2.9.3
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed the branch-2 patch into {{branch-2.10}} and {{branch-2.9}} branches.
Thanks [~hemanthboyina] for filing and fixing. Thanks [~ayushtkn] for
discussion.
Thanks [~aajisaka] for review and help for commit. Is there anything I can do
next time when {{branch-2.10}} has PreCommit problems like this? I usually
retry and wait for the best. :)
> ArrayIndexOfboundsException in ViewFileSystem#listStatus
> --------------------------------------------------------
>
> Key: HADOOP-17059
> URL: https://issues.apache.org/jira/browse/HADOOP-17059
> Project: Hadoop Common
> Issue Type: Bug
> Components: viewfs
> Reporter: hemanthboyina
> Assignee: hemanthboyina
> Priority: Major
> Fix For: 2.9.3, 3.2.2, 2.10.1, 3.3.1, 3.4.0, 3.1.5
>
> Attachments: HADOOP-17059-branch-2.10-00.patch, HADOOP-17059.001.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]