周梦想 2013-02-06, 02:45
Alexander Alten-Lorenz 2013-02-06, 07:50
周梦想 2013-02-07, 03:03
-Re: how to know which line the agent have sent ?
周梦想 2013-02-07, 03:24
So all users of flume don't care the agent break down and miss send or
duplicate the content of logs? They have to write their own sources and
They don't care the correct of logs? How they do if the flume agent exited?
I'm not yet understand.
2013/2/7 周梦想 <[EMAIL PROTECTED]>
> I see，there is no easy way or configure way to know the detail of what has
> sent and what haven't.
> I have to write my own source or sink code to do this.
> Thank you,Alex and all friends.
> 2013/2/6 Alexander Alten-Lorenz <[EMAIL PROTECTED]>
>> You haven't a control in such situations, since tailDir uses tail and
>> holds the marker in memory.
>> We had few days ago a thread about:
>> - Alex
>> On Feb 6, 2013, at 3:45 AM, 周梦想 <[EMAIL PROTECTED]> wrote:
>> > Hello,
>> > I'm using tailDirs('mydir') source of the agent to gather logs to hadoop
>> > hdfs. I notice some documents advise that if the agent collapsed, I
>> > to remove files in 'mydir' and clear flume.agent.logdir. Thus I will
>> > some data or have duplicate data. And I don't know which line the agent
>> > have sent to.
>> > I'm worrying about the agent failure and resend or miss-send the
>> content to
>> > collector. I want to know how to check which line of log file the agent
>> > have sent if the agent exit suddenly. The files in flute log dir, such
>> > sending,sent can't be read.
>> > Please give some advise to process such situation.
>> > Thanks.
>> > Andy Zhou
>> Alexander Alten-Lorenz
>> German Hadoop LinkedIn Group: http://goo.gl/N8pCF
Jeong-shik Jang 2013-02-07, 04:18
周梦想 2013-02-07, 08:33
hoo.smth 2013-02-16, 09:00