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_20081107_0.18.patch
        8 kB
        Tsz Wo Nicholas Sze
      2. 3121_20081107.patch
        8 kB
        Tsz Wo Nicholas Sze
      3. HADOOP-3121.patch
        7 kB
        Raghu Angadi
      4. 3121_20081106b.patch
        7 kB
        Tsz Wo Nicholas Sze
      5. 3121_20081106.patch
        7 kB
        Tsz Wo Nicholas Sze
      6. 3121_20081105.patch
        0.6 kB
        Tsz Wo Nicholas Sze

        Activity

          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