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

ArrayIndexOfboundsException in ViewFileSystem#listStatus

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.3, 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • viewfs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: