public static void createFederatedNamespace(URI namespace,ZooKeeperClient zkc) throws InterruptedException, ZooKeeperClient.ZooKeeperConnectionException, KeeperException {
  String zkSubNamespacesPath=namespace.getPath() + "/" + ZNODE_SUB_NAMESPACES;
  Utils.zkCreateFullPathOptimistic(zkc,zkSubNamespacesPath,new byte[0],zkc.getDefaultACL(),CreateMode.PERSISTENT);
}

public static void createFederatedNamespace ( URI namespace , ZooKeeperClient zkc ) throws InterruptedException , ZooKeeperClient . ZooKeeperConnectionException , KeeperException { String zkSubNamespacesPath = namespace . getPath ( ) + "/" + ZNODE_SUB_NAMESPACES ; Utils . zkCreateFullPathOptimistic ( zkc , zkSubNamespacesPath , new byte [ 0 ] , zkc . getDefaultACL ( ) , CreateMode . PERSISTENT ) ; }
create the federated namespace .
