[ 
https://issues.apache.org/jira/browse/FLUME-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362678#comment-14362678
 ] 

Hari Shreedharan commented on FLUME-2613:
-----------------------------------------

Updating events in the channel would be really tricky/difficult, since that 
would require the entire remaining part of the file to be re-written and would 
also need to adjust for the file reaching max length etc. Also, the checkpoint 
would have to be re-written. I don't think that is something we want to worry 
about. A validator can write out the file to a different file if it needs to.

We should also allow the validator to parse command line options, since it 
might be useful to make custom changes based on config.

> Tool/script for deleting individual message from queue
> ------------------------------------------------------
>
>                 Key: FLUME-2613
>                 URL: https://issues.apache.org/jira/browse/FLUME-2613
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Charles McLaughlin
>            Assignee: Ashish Paliwal
>            Priority: Minor
>         Attachments: FLUME-2613-0.patch, FLUME-2613-1.patch, 
> FLUME-2613-2.patch
>
>
> We had a situation where one of our Flume agents got stuck on a message due 
> to unexpected format.  To get things moving again, I stopped the Flume agent, 
> moved the file backed channel data out of the way and re-started the Flume 
> agent.  I'd like to pop the bad message from the queue data on disk and 
> ideally there would be a recommended tool/script.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to