You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by lulynn_2008 <lu...@163.com> on 2012/05/14 09:30:56 UTC
where is /flume-cfgs/cfg-... located?
Hi All,
In flumemaster.log, I found this line: master.ZooKeeperConfigStore: Loading config from: /flume-cfgs/cfg-0000000116.
My question is where /flume-cfgs/ is located? I did not find it in / directory. Or this directory is generated during flume runtime and has been removed after flume master started.
Thank you.
Re:Re: where is /flume-cfgs/cfg-... located?
Posted by lulynn_2008 <lu...@163.com>.
Thanks:-)
I assume the cmd is:
getconfigs: This gets and dumps the configuration specifications of all the logical nodes the master knows about.
But during starting flume master, I find in code:
byte[] cfg = client.getData(path, false, stat);// in ZookeeperConfigStore.java, path is the file /flume-cfgs/cfg...
variable cfg is something like:
104,104,default-flow@@9.30.194.57 : text( "/flume/bin/verify.text" ) | text( "/flume/bin/verify1.text" );
So my question is what these files stored? logical nodes information or sink/source information?
At 2012-05-14 16:01:52,"alo alt" <wg...@googlemail.com> wrote:
>For Flume 0.9x
>http://archive.cloudera.com/cdh/3/flume/UserGuide/#_the_flume_command_shell
>
>
>
>--
>Alexander Alten-Lorenz
>http://mapredit.blogspot.com
>German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>
>On May 14, 2012, at 9:55 AM, lulynn_2008 wrote:
>
>> How to get the content in /flume-cfgs/cfg-... files?
>>
>>
>>
>> At 2012-05-14 15:47:22,"alo alt" <wg...@googlemail.com> wrote:
>> >Hi,
>> >
>> >that is a deprecated value, will work with "memory" instead "zookeeper" for storing configurations. Also used for "save" on CLI.
>> >
>> >- Alex
>> >
>> >--
>> >Alexander Alten-Lorenz
>> >http://mapredit.blogspot.com
>> >German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>> >
>> >On May 14, 2012, at 9:30 AM, lulynn_2008 wrote:
>> >
>> >> Hi All,
>> >> In flumemaster.log, I found this line: master.ZooKeeperConfigStore: Loading config from: /flume-cfgs/cfg-0000000116.
>> >> My question is where /flume-cfgs/ is located? I did not find it in / directory. Or this directory is generated during flume runtime and has been removed after flume master started.
>> >>
>> >> Thank you.
>> >>
>> >>
>> >
>>
>
Re:Re: where is /flume-cfgs/cfg-... located?
Posted by lulynn_2008 <lu...@163.com>.
Hi,
Problem resolved.
The data can be found in zookeeper data.
At 2012-05-14 16:01:52,"alo alt" <wg...@googlemail.com> wrote:
>For Flume 0.9x
>http://archive.cloudera.com/cdh/3/flume/UserGuide/#_the_flume_command_shell
>
>
>
>--
>Alexander Alten-Lorenz
>http://mapredit.blogspot.com
>German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>
>On May 14, 2012, at 9:55 AM, lulynn_2008 wrote:
>
>> How to get the content in /flume-cfgs/cfg-... files?
>>
>>
>>
>> At 2012-05-14 15:47:22,"alo alt" <wg...@googlemail.com> wrote:
>> >Hi,
>> >
>> >that is a deprecated value, will work with "memory" instead "zookeeper" for storing configurations. Also used for "save" on CLI.
>> >
>> >- Alex
>> >
>> >--
>> >Alexander Alten-Lorenz
>> >http://mapredit.blogspot.com
>> >German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>> >
>> >On May 14, 2012, at 9:30 AM, lulynn_2008 wrote:
>> >
>> >> Hi All,
>> >> In flumemaster.log, I found this line: master.ZooKeeperConfigStore: Loading config from: /flume-cfgs/cfg-0000000116.
>> >> My question is where /flume-cfgs/ is located? I did not find it in / directory. Or this directory is generated during flume runtime and has been removed after flume master started.
>> >>
>> >> Thank you.
>> >>
>> >>
>> >
>>
>
Re: where is /flume-cfgs/cfg-... located?
Posted by alo alt <wg...@googlemail.com>.
For Flume 0.9x
http://archive.cloudera.com/cdh/3/flume/UserGuide/#_the_flume_command_shell
--
Alexander Alten-Lorenz
http://mapredit.blogspot.com
German Hadoop LinkedIn Group: http://goo.gl/N8pCF
On May 14, 2012, at 9:55 AM, lulynn_2008 wrote:
> How to get the content in /flume-cfgs/cfg-... files?
>
>
>
> At 2012-05-14 15:47:22,"alo alt" <wg...@googlemail.com> wrote:
> >Hi,
> >
> >that is a deprecated value, will work with "memory" instead "zookeeper" for storing configurations. Also used for "save" on CLI.
> >
> >- Alex
> >
> >--
> >Alexander Alten-Lorenz
> >http://mapredit.blogspot.com
> >German Hadoop LinkedIn Group: http://goo.gl/N8pCF
> >
> >On May 14, 2012, at 9:30 AM, lulynn_2008 wrote:
> >
> >> Hi All,
> >> In flumemaster.log, I found this line: master.ZooKeeperConfigStore: Loading config from: /flume-cfgs/cfg-0000000116.
> >> My question is where /flume-cfgs/ is located? I did not find it in / directory. Or this directory is generated during flume runtime and has been removed after flume master started.
> >>
> >> Thank you.
> >>
> >>
> >
>
Re:Re: where is /flume-cfgs/cfg-... located?
Posted by lulynn_2008 <lu...@163.com>.
How to get the content in /flume-cfgs/cfg-... files?
At 2012-05-14 15:47:22,"alo alt" <wg...@googlemail.com> wrote:
>Hi,
>
>that is a deprecated value, will work with "memory" instead "zookeeper" for storing configurations. Also used for "save" on CLI.
>
>- Alex
>
>--
>Alexander Alten-Lorenz
>http://mapredit.blogspot.com
>German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>
>On May 14, 2012, at 9:30 AM, lulynn_2008 wrote:
>
>> Hi All,
>> In flumemaster.log, I found this line: master.ZooKeeperConfigStore: Loading config from: /flume-cfgs/cfg-0000000116.
>> My question is where /flume-cfgs/ is located? I did not find it in / directory. Or this directory is generated during flume runtime and has been removed after flume master started.
>>
>> Thank you.
>>
>>
>
Re: where is /flume-cfgs/cfg-... located?
Posted by alo alt <wg...@googlemail.com>.
Hi,
that is a deprecated value, will work with "memory" instead "zookeeper" for storing configurations. Also used for "save" on CLI.
- Alex
--
Alexander Alten-Lorenz
http://mapredit.blogspot.com
German Hadoop LinkedIn Group: http://goo.gl/N8pCF
On May 14, 2012, at 9:30 AM, lulynn_2008 wrote:
> Hi All,
> In flumemaster.log, I found this line: master.ZooKeeperConfigStore: Loading config from: /flume-cfgs/cfg-0000000116.
> My question is where /flume-cfgs/ is located? I did not find it in / directory. Or this directory is generated during flume runtime and has been removed after flume master started.
>
> Thank you.
>
>