Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2586

HDFS Sink should have an option to try rename even if close fails

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      "The issue is that the file close fails, but the stream on the Flume side is considered closed by HDFS. So retrying the close, is failing - which causes the rename never to be attempted. Since the rename is never attempted the file sticks around with the ".tmp" file name. "
      We should try attempting rename even if the close fails and possibly log information that the user need to run lease recovery

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jrufus Johny Rufus
              Reporter:
              jrufus Johny Rufus

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment