zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Integrate Zookeeper with hadoop mapreduce
Date Tue, 05 Jul 2011 08:01:11 GMT
Whew.

Usually when typing code into email, I get something wrong.

Glad to hear you were lucky.

On Mon, Jul 4, 2011 at 8:13 PM, Paul Rimba <paul.rimba@gmail.com> wrote:

> Thanks for that Ted! it works perfectly
>
> On Sun, Jul 3, 2011 at 2:16 AM, Ted Dunning <ted.dunning@gmail.com> wrote:
>
> > Just include all of the bytes from the file.  If you use the very nice
> > guava
> > library, this can be done so:
> >
> >        zk.setData(Files.toByteArray(new File(configFileName)), false,
> > null);
> >
> > On Sat, Jul 2, 2011 at 1:31 AM, Paul Rimba <paul.rimba@gmail.com> wrote:
> >
> > > hmm.. it does return the string. However, i wanted to store a whole
> > > configuration files in the znode.
> > > Mahadev asked me to build a tool which i am not sure how to as i am
> still
> > a
> > > newbie on zookeeper.
> > >
> > > If you could point out how to do it, it would be best.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message