Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17059

ArrayIndexOfboundsException in ViewFileSystem#listStatus

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • Component/s: viewfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In Viewfilesystem#listStatus , we get groupnames of ugi , If groupnames doesn't exists  it will throw AIOBE

              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));
              } 

       

        Attachments

        1. HADOOP-17059.001.patch
          3 kB
          Hemanth Boyina
        2. HADOOP-17059-branch-2.10-00.patch
          3 kB
          Hemanth Boyina

          Issue Links

            Activity

              People

              • Assignee:
                hemanthboyina Hemanth Boyina
                Reporter:
                hemanthboyina Hemanth Boyina
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: