Solr
  1. Solr
  2. SOLR-3004

All Solr(Cloud) information in ZK in a dedicated Znode

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      SolrCloud is using ZK for shared information. At the moment is distributes its information over more than one root-Znode (e.g. "collections", "configs" and "live-nodes"). It is not good style to act this way in ZK - pretending that you are the only one using ZK. Suggest we put it all inside one single root-Znode called "solr" or "solrcloud", so that we will have /solr/collections, /solr/configs and /solr/live-nodes in ZK instead. Believe it is important to do this change before the first "real" release including SolrCloud, because it is much easier to do before than after. If we do it after we will probably have to think about upgrade-code to move stuff from the old place to the new place in order to have systems build on the first release without this improvement go nicely to the next release with this improvement.

      E.g. I am using Lily and HBase and they nicely put all their information in ZK in designated root-Znodes ("hbase" and "lily").

        Activity

        Per Steffensen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Not A Problem [ 8 ]
        Hide
        Per Steffensen added a comment -

        OK, didnt know. That will probably do. Maybe this feature should be expressed clearly in documentation/example. Thanks!

        Show
        Per Steffensen added a comment - OK, didnt know. That will probably do. Maybe this feature should be expressed clearly in documentation/example. Thanks!
        Hide
        Mark Miller added a comment -

        we let you use any root node you want - just creates a node for solr, such as /mysolrnode, and then use a zk address of localhost:port/mysolrnode

        Show
        Mark Miller added a comment - we let you use any root node you want - just creates a node for solr, such as /mysolrnode, and then use a zk address of localhost:port/mysolrnode
        Per Steffensen created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Per Steffensen
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 48h
              48h
              Remaining:
              Remaining Estimate - 48h
              48h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development