zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Rimba <paul.ri...@gmail.com>
Subject Re: Integrate Zookeeper with hadoop mapreduce
Date Tue, 05 Jul 2011 03:13:47 GMT
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