You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "jiangwen wei (JIRA)" <ji...@apache.org> on 2011/03/19 11:13:29 UTC

[jira] Created: (ZOOKEEPER-1022) let the children under a ZNode in order.

let the children under a ZNode in order.
----------------------------------------

                 Key: ZOOKEEPER-1022
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1022
             Project: ZooKeeper
          Issue Type: New Feature
          Components: server
            Reporter: jiangwen wei


let the children under a ZNode in order. and user can specify a comparator for each parent ZNode.
some time we only need get some children, not all, like getting first children.
and some application can leverage the order, like in HBase, the meta table can put into ZK. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ZOOKEEPER-1022) let the children under a ZNode in order.

Posted by "jiangwen wei (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012409#comment-13012409 ] 

jiangwen wei commented on ZOOKEEPER-1022:
-----------------------------------------

if the children is in order, the meta data of HBase can be stored in ZooKeeper

> let the children under a ZNode in order.
> ----------------------------------------
>
>                 Key: ZOOKEEPER-1022
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1022
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: server
>            Reporter: jiangwen wei
>
> let the children under a ZNode in order. and user can specify a comparator for each parent ZNode.
> some time we only need get some children, not all, like getting first children.
> and some application can leverage the order, like in HBase, the meta table can put into ZK. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ZOOKEEPER-1022) let the children under a ZNode in order.

Posted by "MIS (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012390#comment-13012390 ] 

MIS commented on ZOOKEEPER-1022:
--------------------------------

It is not the functionality of the ZooKeeper to order the children as per the business logic of the application using it.
Further, I think we should not burden the Zookeeper to do things which hold little relevance to the core functionality of the ZooKeeper. 
The use-case for which this issue has been raised can be achieved by having the required logic at the application side and not at the zookeeper side.

-1 from my side for this issue.


> let the children under a ZNode in order.
> ----------------------------------------
>
>                 Key: ZOOKEEPER-1022
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1022
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: server
>            Reporter: jiangwen wei
>
> let the children under a ZNode in order. and user can specify a comparator for each parent ZNode.
> some time we only need get some children, not all, like getting first children.
> and some application can leverage the order, like in HBase, the meta table can put into ZK. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira