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

Distcp may succeed when it fails

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

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • 0.23.11, 2.3.0
    • tools/distcp
    • None
    • Reviewed

    Description

      Distcp uses IOUtils.cleanup to close its output streams w/o previously attempting to close the streams. IOUtils.cleanup will swallow close or implicit flush on close exceptions. As a result, distcp may silently skip files when a partial file listing is generated, and/or appear to succeed when individual copies fail.

      Attachments

        1. HADOOP-10129.patch
          8 kB
          Daryn Sharp

        Activity

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

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment