You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Arvind Prabhakar (JIRA)" <ji...@apache.org> on 2012/07/18 22:05:33 UTC

[jira] [Created] (FLUME-1380) File channel log can record the op code and not the operation in some cases

Arvind Prabhakar created FLUME-1380:
---------------------------------------

             Summary: File channel log can record the op code and not the operation in some cases
                 Key: FLUME-1380
                 URL: https://issues.apache.org/jira/browse/FLUME-1380
             Project: Flume
          Issue Type: Bug
            Reporter: Arvind Prabhakar
            Assignee: Arvind Prabhakar


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:

{noformat}
ERROR file.Log: Failed to initialize Log
java.io.IOException: Header 80808080 not expected value: deadbeef
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-1380) File channel log can record the op code and not the operation in some cases

Posted by "Arvind Prabhakar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arvind Prabhakar updated FLUME-1380:
------------------------------------

    Attachment: FLUME-1380-1.patch
    
> File channel log can record the op code and not the operation in some cases
> ---------------------------------------------------------------------------
>
>                 Key: FLUME-1380
>                 URL: https://issues.apache.org/jira/browse/FLUME-1380
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Arvind Prabhakar
>            Assignee: Arvind Prabhakar
>         Attachments: FLUME-1380-1.patch
>
>
> 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:
> {noformat}
> ERROR file.Log: Failed to initialize Log
> java.io.IOException: Header 80808080 not expected value: deadbeef
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira