Flume
  1. Flume
  2. FLUME-1380

File channel log can record the op code and not the operation in some cases

    Details

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

      Description

      There is a race condition in the system where the log file can record the beginning of a record and be shutdown before the remaining record is written out. This will lead to the system not starting up correctly again with exceptions like:

      ERROR file.Log: Failed to initialize Log
      java.io.IOException: Header 80808080 not expected value: deadbeef
      
      1. FLUME-1380-1.patch
        1 kB
        Arvind Prabhakar

        Issue Links

          Activity

          Hide
          Arvind Prabhakar added a comment -

          Patch attached.

          Show
          Arvind Prabhakar added a comment - Patch attached.
          Hide
          Hari Shreedharan added a comment -

          Patch committed: r1363157. Thanks Arvind!

          Show
          Hari Shreedharan added a comment - Patch committed: r1363157. Thanks Arvind!

            People

            • Assignee:
              Arvind Prabhakar
              Reporter:
              Arvind Prabhakar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development