Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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()

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

        Issue Links

          Activity

          Rodrigo Schmidt created issue -
          Rodrigo Schmidt made changes -
          Field Original Value New Value
          Link This issue depends on HADOOP-6591 [ HADOOP-6591 ]
          Rodrigo Schmidt made changes -
          Link This issue blocks MAPREDUCE-1585 [ MAPREDUCE-1585 ]
          Rodrigo Schmidt made changes -
          Attachment HADOOP-6645.patch [ 12439255 ]
          Rodrigo Schmidt made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Rodrigo Schmidt made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Rodrigo Schmidt made changes -
          Attachment HADOOP-6645.hotfix.patch [ 12439606 ]
          Rodrigo Schmidt made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Mahadev konar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to MAPREDUCE-1632 [ MAPREDUCE-1632 ]
          Tsz Wo Nicholas Sze made changes -
          Component/s fs [ 12310689 ]
          Tom White made changes -
          Fix Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue depends on HADOOP-6591 [ HADOOP-6591 ]
          Gavin made changes -
          Link This issue depends upon HADOOP-6591 [ HADOOP-6591 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development