You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@chukwa.apache.org by IvyTang <iv...@gmail.com> on 2012/03/06 04:59:38 UTC
Starting adaptors in starting chukwa
after reading the chukwa starting log , the chukwa will first read
the chukwa_agent_checkpoint file and the read the initial_adaptors file.
The chukwa_agent_checkpoint recorded the position of log transferring ,
and the adaptors of chukwa when chukwa stopped .
When i restart chukwa , the chukwa will read both files. Will the adaptor
in initial_adaptors cover the adaptor in chukwa_agent_checkpoint ? These
adaptors has the same name and the file , just different offset .
--
Best regards,
Ivy Tang
Re: Starting adaptors in starting chukwa
Posted by Eric Yang <er...@gmail.com>.
The Adaptor is validated with adaptor name, data type, and parameters. It doesn't validate offset.
Sent from my iPhone
On Mar 5, 2012, at 9:14 PM, IvyTang <iv...@gmail.com> wrote:
> how to distinguish the different adator , depends on the different log file ?
>
> On Tue, Mar 6, 2012 at 12:35 PM, Eric Yang <er...@gmail.com> wrote:
> Adaptors in initial_adaptors would not start, if the same adaptors
> already exist in checkpoint file.
>
> regards,
> Eric
>
> On Mon, Mar 5, 2012 at 7:59 PM, IvyTang <iv...@gmail.com> wrote:
> > after reading the chukwa starting log , the chukwa will first read
> > the chukwa_agent_checkpoint file and the read the initial_adaptors file.
> >
> > The chukwa_agent_checkpoint recorded the position of log transferring , and
> > the adaptors of chukwa when chukwa stopped .
> >
> > When i restart chukwa , the chukwa will read both files. Will the adaptor
> > in initial_adaptors cover the adaptor in chukwa_agent_checkpoint ? These
> > adaptors has the same name and the file , just different offset .
> >
> > --
> > Best regards,
> >
> > Ivy Tang
> >
> >
> >
>
>
>
> --
> Best regards,
>
> Ivy Tang
>
>
>
Re: Starting adaptors in starting chukwa
Posted by IvyTang <iv...@gmail.com>.
how to distinguish the different adator , depends on the different log file
?
On Tue, Mar 6, 2012 at 12:35 PM, Eric Yang <er...@gmail.com> wrote:
> Adaptors in initial_adaptors would not start, if the same adaptors
> already exist in checkpoint file.
>
> regards,
> Eric
>
> On Mon, Mar 5, 2012 at 7:59 PM, IvyTang <iv...@gmail.com> wrote:
> > after reading the chukwa starting log , the chukwa will first read
> > the chukwa_agent_checkpoint file and the read the initial_adaptors file.
> >
> > The chukwa_agent_checkpoint recorded the position of log transferring ,
> and
> > the adaptors of chukwa when chukwa stopped .
> >
> > When i restart chukwa , the chukwa will read both files. Will the adaptor
> > in initial_adaptors cover the adaptor in chukwa_agent_checkpoint ? These
> > adaptors has the same name and the file , just different offset .
> >
> > --
> > Best regards,
> >
> > Ivy Tang
> >
> >
> >
>
--
Best regards,
Ivy Tang
Re: Starting adaptors in starting chukwa
Posted by Eric Yang <er...@gmail.com>.
Adaptors in initial_adaptors would not start, if the same adaptors
already exist in checkpoint file.
regards,
Eric
On Mon, Mar 5, 2012 at 7:59 PM, IvyTang <iv...@gmail.com> wrote:
> after reading the chukwa starting log , the chukwa will first read
> the chukwa_agent_checkpoint file and the read the initial_adaptors file.
>
> The chukwa_agent_checkpoint recorded the position of log transferring , and
> the adaptors of chukwa when chukwa stopped .
>
> When i restart chukwa , the chukwa will read both files. Will the adaptor
> in initial_adaptors cover the adaptor in chukwa_agent_checkpoint ? These
> adaptors has the same name and the file , just different offset .
>
> --
> Best regards,
>
> Ivy Tang
>
>
>