Flume
  1. Flume
  2. FLUME-1702

HDFSEventSink should write to a hidden file as opposed to a .tmp file

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently we write to a .tmp file. The problem is that if MR jobs are being run on the directory we are writing to, then it's common for an MR job to list the directory, get a .tmp file and then in the mean time the .tmp file is renamed causing the job to fail when run.

      Using JavaMR you can use a PathFilter to avoid this, however a custom solution is required for Pig, Hive, etc.

      Perhaps we should write to a hidden file so that MR never tries to process data in flight.

      1. bugFLUME-1702.patch
        25 kB
        Jarek Jarcec Cecho
      2. bugFLUME-1702.patch
        25 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development