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

dfs -lsr fail with "Could not get listing "

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.16.1
    • 0.18.3
    • fs
    • None
    • 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.

      Attachments

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szetszwo Tsz-wo Sze
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment