hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@darose.net>
Subject Create node with ancestors?
Date Tue, 05 Oct 2010 22:20:37 GMT
The ZK "create" method explicitly states in the documentation "If the 
parent node does not exist in the ZooKeeper, a KeeperException with 
error code KeeperException.NoNode will be thrown."  ( 

  As a result, there doesn't appear to be any one single method call 
that can create a node, along with any missing parent nodes.  This would 
be an incredibly useful API call, though, akin to HDFS' "mkdirs" method 

Anybody know if there's a call like this available somewhere in the ZK API?



View raw message