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

hdfs -rm should NOT fail if one of the files to remove is missing

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      It looks like hdfs -rm with wild card argument first builds the list of
      files to delete, and then deletes them one by one.
      (This is OK so far).

      If one of the files on the list gets deleted by someone else before the
      command reaches it, the command fails.
      This seems a wrong behavior to me. I'd expect the command report the problem
      and continue deleting the rest of the files.

      Attachments

        1. HADOOP-1207_20070615.patch
          3 kB
          Tsz-wo Sze

        Activity

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

          People

            szetszwo Tsz-wo Sze
            arkady arkady borkovsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment