via you can easily save a string as a value using the create

create /testdir "this is a string"

As far as loading a file into a zNode, it's just a matter of reading the
file into an array of bytes and then creating the zNode with that array of
bytes. I haven't used the native zookeeper client, but it's simple enough
with Apache Curator.

CuratorFramework curator = ... //Initialise your client

byte[] fileContents = readFileContent();

curator.create().forPath("/testdir", fileContents);

To read the data out

byte[] fileContents = curator.getData().forPath("/testdir");

On Mon, May 19, 2014 at 4:17 PM, xytd <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB