Home | About | Sematext search-lucene.com search-hadoop.com
 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.


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
> Junior System Administrator
> ;-) Klicknation