Home | About | Sematext search-lucene.com search-hadoop.com
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
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> ZooKeeper.create()


Copy link to this message
-
Re: ZooKeeper.create()
Try Ids.OPEN_ACL_UNSAFE to start with. If you click into the source
for that, you will see the ACL options for Java.

C

On Tue, Nov 8, 2011 at 6:58 PM, Ryan Payton <[EMAIL PROTECTED]> wrote:
> I have created an object from the ZooKeeper() class, zoo. I am having
> trouble finding the correct format for "zoo.create(String, path, byte[]
> data, List<ACL> acl, CreateMode createmode)" The first,second, and fourth
> arguments I understand (not quite sure why the data is a byte[] since you
> can use strings for data through the CLI), but I am having trouble finding
> documentation for List<ACL>. Any help would be appreciated. TYIA.
>
> --
> Ryan Payton
> [EMAIL PROTECTED]
> Junior System Administrator
> ;-) Klicknation
>
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