flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Naik <ros...@hortonworks.com>
Subject Re: detecting when exec cat source is complete
Date Wed, 15 Oct 2014 21:07:21 GMT
once any  exec source command  has completed execution you will see a note
on the log .. also indicating the exit code of the command.

On Wed, Oct 15, 2014 at 7:41 AM, Anandkumar Lakshmanan <anand@orzota.com>

> Hi Ed,
> By using cat, Flume will cat the file, but then the source will become
> useless, because the command will have finished, and there's no way that
> I'm aware of to get an agent to start a new command.
> As for figuring out when the transfer is complete, I don't think there's a
> really good way other than checking the file itself, or looking to see if
> the cat command is still running.
> Thanks,
> Anand.
> On 10/15/2014 07:55 PM, Ed Judge wrote:
>> Is there a reliable mechanism to know when a flume source is complete
>> (i.e. when it is done catting a file or when the flume source script exits)
>> AND all of the events have been written to the sink?
>> Thanks,
>> -Ed

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message