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

          Arvind Prabhakar created issue -
          Arvind Prabhakar made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Arvind Prabhakar made changes -
          Attachment FLUME-1380-1.patch [ 12537081 ]
          Hide
          Arvind Prabhakar added a comment -

          Patch attached.

          Show
          Arvind Prabhakar added a comment - Patch attached.
          Arvind Prabhakar made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Arvind Prabhakar made changes -
          Remote Link This issue links to "Review #6038 (Web Link)" [ 10415 ]
          Hide
          Hari Shreedharan added a comment -

          Patch committed: r1363157. Thanks Arvind!

          Show
          Hari Shreedharan added a comment - Patch committed: r1363157. Thanks Arvind!
          Hari Shreedharan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mike Percy made changes -
          Fix Version/s v1.3.0 [ 12322140 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          2h 1 Arvind Prabhakar 18/Jul/12 23:04
          In Progress In Progress Patch Available Patch Available
          23s 1 Arvind Prabhakar 18/Jul/12 23:04
          Patch Available Patch Available Resolved Resolved
          37m 39s 1 Hari Shreedharan 18/Jul/12 23:42

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development