Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: