Hadoop Common
  1. Hadoop Common
  2. HADOOP-3121

dfs -lsr fail with "Could not get listing "

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.16.1
    • Fix Version/s: 0.18.3
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      (This happened a lot when namenode was extremely slow due to some other reasons.)

      % hadoop dfs -lsr /

      failed with

      > Could not get listing for /aaa/bbb/randomfile

      It's probably because file was deleted between items = fs.listStatus( and ls(items[i]

      I think lsr should ignore this case and continue.

      1. 3121_20081105.patch
        0.6 kB
        Tsz Wo Nicholas Sze
      2. 3121_20081106.patch
        7 kB
        Tsz Wo Nicholas Sze
      3. 3121_20081106b.patch
        7 kB
        Tsz Wo Nicholas Sze
      4. HADOOP-3121.patch
        7 kB
        Raghu Angadi
      5. 3121_20081107.patch
        8 kB
        Tsz Wo Nicholas Sze
      6. 3121_20081107_0.18.patch
        8 kB
        Tsz Wo Nicholas Sze

        Activity

        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hadoop Flags [Reviewed]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081107_0.18.patch [ 12393529 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081107.patch [ 12393520 ]
        Raghu Angadi made changes -
        Attachment HADOOP-3121.patch [ 12393479 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081106b.patch [ 12393471 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081106b.patch [ 12393470 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081106b.patch [ 12393470 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081106.patch [ 12393467 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Fix Version/s 0.18.3 [ 12313494 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3121_20081105.patch [ 12393404 ]
        Tsz Wo Nicholas Sze made changes -
        Field Original Value New Value
        Assignee Tsz Wo (Nicholas), SZE [ szetszwo ]
        Koji Noguchi created issue -

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Koji Noguchi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development