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

Bugs on listStatus for HarFileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.21.0
    • fs
    • None
    • Reviewed

    Description

      Two bugs on listStatus for HarFileSystem:

      1) consider the following directory tree inside a hadoop archive
      /foo
      /foo/bar1
      /fooo
      /fooo/bar2

      In this case, listStatus(new Path("/foo")) will include /fooo/bar2 because fileStatusesInIndex is testing a prefix.

      2) HADOOP-6591 didn't take into consideration method fileStatusesInIndex(), and archives v2 return empty results for listStatus()

      Attachments

        1. HADOOP-6645.hotfix.patch
          0.7 kB
          Rodrigo Schmidt
        2. HADOOP-6645.patch
          1.0 kB
          Rodrigo Schmidt

        Issue Links

          Activity

            People

              rschmidt Rodrigo Schmidt
              rschmidt Rodrigo Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: