Solr
  1. Solr
  2. SOLR-4078

Allow custom naming of nodes so that a new host:port combination can take over for a previous shard.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, Trunk
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Currently we auto assign a unique node name based on the host address and core name - we should let the user optionally override this so that a new host address + core name combo can take over the duties of a previous registered node.

      Especially useful for ec2 if you are not using elastic ips.

      1. SOLR-4078.patch
        27 kB
        Mark Miller
      2. SOLR-4078.patch
        33 kB
        Mark Miller
      3. SOLR-4078.patch
        43 kB
        Mark Miller

        Activity

        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1450012

        SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1450012 SOLR-4078 : Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1450013

        SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1450013 SOLR-4078 : Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.
        Hide
        Mark Miller added a comment -

        A couple little tweaks and fixes. I think this is looking ready to commit.

        Show
        Mark Miller added a comment - A couple little tweaks and fixes. I think this is looking ready to commit.
        Hide
        Mark Miller added a comment -

        New patch - just about ready.

        Show
        Mark Miller added a comment - New patch - just about ready.
        Hide
        Mark Miller added a comment -

        I'm close with this - working on some final quirks and tests.

        Show
        Mark Miller added a comment - I'm close with this - working on some final quirks and tests.
        Hide
        Michael Della Bitta added a comment -

        +1 definitely interested.

        Show
        Michael Della Bitta added a comment - +1 definitely interested.
        Hide
        Yonik Seeley added a comment -

        +1, this definitely seems like where we want to be going.

        Show
        Yonik Seeley added a comment - +1, this definitely seems like where we want to be going.
        Hide
        Po Rui added a comment -

        we interest in this feature. we look foreword this feature just in case _

        Show
        Po Rui added a comment - we interest in this feature. we look foreword this feature just in case _
        Hide
        Mark Miller added a comment -

        Anyone interested in this feature?

        Show
        Mark Miller added a comment - Anyone interested in this feature?
        Hide
        Mark Miller added a comment -

        note for me: not sure i caught this one in the patch

        final String key = coreState.getStr(ZkStateReader.NODE_NAME_PROP) + "_" + coreState.getStr(ZkStateReader.CORE_NAME_PROP);

        Show
        Mark Miller added a comment - note for me: not sure i caught this one in the patch final String key = coreState.getStr(ZkStateReader.NODE_NAME_PROP) + "_" + coreState.getStr(ZkStateReader.CORE_NAME_PROP);
        Hide
        Mark Miller added a comment -

        first iteration patch - test is visual at the moment - needs beefing up.

        Show
        Mark Miller added a comment - first iteration patch - test is visual at the moment - needs beefing up.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development