You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Divya R <av...@gmail.com> on 2014/05/12 11:02:04 UTC

Flume incoming logs - previous day

Hi Guys,

  I have been using flume since year and a half. I have flume agents
running on around 12 machines all are working fine. Only in one of the
client machine I am receiving previous day logs. There is absolutely no
change in configuration from other machine and no exceptions as well. I am
using TimestampInterceptor. Some of the machines have IST, CEST, PST but
this machine time is SAST(South Africa standard time). Can this be an issue
in any regard for flume.?

  When I delete flume_channel and restart I receive todays logs but again
it gets back to previous day in the following day.

   Any help in this regards is greatly appreciated.

Thanks and Regards,
-Divya

Re: Flume incoming logs - previous day

Posted by Mike Percy <mp...@apache.org>.
Hi Divya,
No way to tell you anything for certain without the config files. Can you
provide those?

Mike


On Mon, May 12, 2014 at 2:02 AM, Divya R <av...@gmail.com> wrote:

> Hi Guys,
>
>   I have been using flume since year and a half. I have flume agents
> running on around 12 machines all are working fine. Only in one of the
> client machine I am receiving previous day logs. There is absolutely no
> change in configuration from other machine and no exceptions as well. I am
> using TimestampInterceptor. Some of the machines have IST, CEST, PST but
> this machine time is SAST(South Africa standard time). Can this be an issue
> in any regard for flume.?
>
>   When I delete flume_channel and restart I receive todays logs but again
> it gets back to previous day in the following day.
>
>    Any help in this regards is greatly appreciated.
>
> Thanks and Regards,
> -Divya
>

Re: Flume incoming logs - previous day

Posted by Roshan Naik <ro...@hortonworks.com>.
Divya,
   You will need to enable HTTP metrics as noted in the user guide. Then
observe the DrainSuccessCount metric on the channel. That metric will give
you the total events that have been drained from the channel at any given
point in time. from that you can compute the drain rate by taking a couple
measurements spread across a few minutes.
-roshan


On Wed, May 14, 2014 at 2:23 AM, Divya R <av...@gmail.com> wrote:

> Hi Roshan,
>
>    Can you suggest me any commands or tool through which I can check the
> drain rate and http matrix only for flume.?
>
> Thanks and Regards,
> -Divya
>
>
> On Wed, May 14, 2014 at 6:28 AM, Roshan Naik <ro...@hortonworks.com>
> wrote:
>
> > To triage this.. may want to turn on http metrics and  check how full the
> > channel is on that agent. Also calculate the drain rate on that. Contrast
> > that with how the other agents are behaving.
> > -roshan
> >
> >
> > On Mon, May 12, 2014 at 2:02 AM, Divya R <av...@gmail.com> wrote:
> >
> > > Hi Guys,
> > >
> > >   I have been using flume since year and a half. I have flume agents
> > > running on around 12 machines all are working fine. Only in one of the
> > > client machine I am receiving previous day logs. There is absolutely no
> > > change in configuration from other machine and no exceptions as well. I
> > am
> > > using TimestampInterceptor. Some of the machines have IST, CEST, PST
> but
> > > this machine time is SAST(South Africa standard time). Can this be an
> > issue
> > > in any regard for flume.?
> > >
> > >   When I delete flume_channel and restart I receive todays logs but
> again
> > > it gets back to previous day in the following day.
> > >
> > >    Any help in this regards is greatly appreciated.
> > >
> > > Thanks and Regards,
> > > -Divya
> > >
> >
> > --
> > CONFIDENTIALITY NOTICE
> > 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.
> >
>

-- 
CONFIDENTIALITY NOTICE
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.

Re: Flume incoming logs - previous day

Posted by Divya R <av...@gmail.com>.
Hi Roshan,

   Can you suggest me any commands or tool through which I can check the
drain rate and http matrix only for flume.?

Thanks and Regards,
-Divya


On Wed, May 14, 2014 at 6:28 AM, Roshan Naik <ro...@hortonworks.com> wrote:

> To triage this.. may want to turn on http metrics and  check how full the
> channel is on that agent. Also calculate the drain rate on that. Contrast
> that with how the other agents are behaving.
> -roshan
>
>
> On Mon, May 12, 2014 at 2:02 AM, Divya R <av...@gmail.com> wrote:
>
> > Hi Guys,
> >
> >   I have been using flume since year and a half. I have flume agents
> > running on around 12 machines all are working fine. Only in one of the
> > client machine I am receiving previous day logs. There is absolutely no
> > change in configuration from other machine and no exceptions as well. I
> am
> > using TimestampInterceptor. Some of the machines have IST, CEST, PST but
> > this machine time is SAST(South Africa standard time). Can this be an
> issue
> > in any regard for flume.?
> >
> >   When I delete flume_channel and restart I receive todays logs but again
> > it gets back to previous day in the following day.
> >
> >    Any help in this regards is greatly appreciated.
> >
> > Thanks and Regards,
> > -Divya
> >
>
> --
> CONFIDENTIALITY NOTICE
> 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.
>

Re: Flume incoming logs - previous day

Posted by Roshan Naik <ro...@hortonworks.com>.
To triage this.. may want to turn on http metrics and  check how full the
channel is on that agent. Also calculate the drain rate on that. Contrast
that with how the other agents are behaving.
-roshan


On Mon, May 12, 2014 at 2:02 AM, Divya R <av...@gmail.com> wrote:

> Hi Guys,
>
>   I have been using flume since year and a half. I have flume agents
> running on around 12 machines all are working fine. Only in one of the
> client machine I am receiving previous day logs. There is absolutely no
> change in configuration from other machine and no exceptions as well. I am
> using TimestampInterceptor. Some of the machines have IST, CEST, PST but
> this machine time is SAST(South Africa standard time). Can this be an issue
> in any regard for flume.?
>
>   When I delete flume_channel and restart I receive todays logs but again
> it gets back to previous day in the following day.
>
>    Any help in this regards is greatly appreciated.
>
> Thanks and Regards,
> -Divya
>

-- 
CONFIDENTIALITY NOTICE
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.