Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - Inconsistent Results with ZooKeeper Ensemble and Four SOLR Cloud Nodes


+
Matthew Parker 2012-02-27, 17:26
+
Mark Miller 2012-02-27, 18:13
+
Matthew Parker 2012-02-27, 19:22
+
Mark Miller 2012-02-27, 19:47
+
Matthew Parker 2012-02-27, 20:06
Copy link to this message
-
Re: Inconsistent Results with ZooKeeper Ensemble and Four SOLR Cloud Nodes
Matthew Parker 2012-02-27, 20:34
Here is most of the cluster state:

Connected to Zookeeper
localhost:2181, localhost: 2182, localhost:2183

/(v=0 children=7) ""
   /CONFIGS(v=0, children=1)
      /CONFIGURATION(v=0 children=25)
             <<<<< all the configuration files, velocity info, xslt, etc.
>>>>
  /NODE_STATES(v=0 children=4)
     MACHINE1:8083_SOLR (v=121)"[{"shard_id":"shard1",
"state":"active","core":"","collection":"collection1","node_name:"..."
     MACHINE1:8082_SOLR (v=101)"[{"shard_id":"shard2",
"state":"active","core":"","collection":"collection1","node_name:"..."
     MACHINE1:8081_SOLR (v=92)"[{"shard_id":"shard1",
"state":"active","core":"","collection":"collection1","node_name:"..."
     MACHINE1:8084_SOLR (v=73)"[{"shard_id":"shard2",
"state":"active","core":"","collection":"collection1","node_name:"..."
  /ZOOKEEPER (v-0 children=1)
     QUOTA(v=0)

/CLUSTERSTATE.JSON(V=272)"{"collection1":{"shard1":{MACHINE1:8081_solr_":{shard_id":"shard1","leader":"true","..."
  /LIVE_NODES (v=0 children=4)
     MACHINE1:8083_SOLR(ephemeral v=0)
     MACHINE1:8082_SOLR(ephemeral v=0)
     MACHINE1:8081_SOLR(ephemeral v=0)
     MACHINE1:8084_SOLR(ephemeral v=0)
  /COLLECTIONS (v=1 children=1)
     COLLECTION1(v=0 children=2)"{"configName":"configuration1"}"
         LEADER_ELECT(v=0 children=2)
             SHARD1(V=0 children=1)
                 ELECTION(v=0 children=2)

87186203314552835-MACHINE1:8081_SOLR_-N_0000000096(ephemeral v=0)

87186203314552836-MACHINE1:8083_SOLR_-N_0000000084(ephemeral v=0)
             SHARD2(v=0 children=1)
                 ELECTION(v=0 children=2)

231301391392833539-MACHINE1:8084_SOLR_-N_0000000085(ephemeral v=0)

159243797356740611-MACHINE1:8082_SOLR_-N_0000000084(ephemeral v=0)
         LEADERS (v=0 children=2)
             SHARD1 (ephemeral
v=0)"{"core":"","node_name":"MACHINE1:8081_solr","base_url":"
http://MACHINE1:8081/solr"}"
             SHARD2 (ephemeral
v=0)"{"core":"","node_name":"MACHINE1:8082_solr","base_url":"
http://MACHINE1:8082/solr"}"
  /OVERSEER_ELECT (v=0 children=2)
     ELECTION (v=0 children=4)
         231301391392833539-MACHINE1:8084_SOLR_-N_0000000251(ephemeral v=0)
         87186203314552835-MACHINE1:8081_SOLR_-N_0000000248(ephemeral v=0)
         159243797356740611-MACHINE1:8082_SOLR_-N_0000000250(ephemeral v=0)
         87186203314552836-MACHINE1:8083_SOLR_-N_0000000249(ephemeral v=0)
     LEADER (emphemeral
v=0)"{"id":"87186203314552835-MACHINE1:8081_solr-n_000000248"}"

On Mon, Feb 27, 2012 at 2:47 PM, Mark Miller <[EMAIL PROTECTED]> wrote:

>
> On Feb 27, 2012, at 2:22 PM, Matthew Parker wrote:
>
> > Thanks for your reply Mark.
> >
> > I believe the build was towards the begining of the month. The
> > solr.spec.version is 4.0.0.2012.01.10.38.09
> >
> > I cannot access the clusterstate.json contents. I clicked on it a couple
> of
> > times, but nothing happens. Is that stored on disk somewhere?
>
> Are you using the new admin UI? That has recently been updated to work
> better with cloud - it had some troubles not too long ago. If you are, you
> should trying using the old admin UI's zookeeper page - that should show
> the cluster state.
>
> That being said, there has been a lot of bug fixes over the past month -
> so you may just want to update to a recent version.
>
> >
> > I configured a custom request handler to calculate an unique document id
> > based on the file's url.
> >
> > On Mon, Feb 27, 2012 at 1:13 PM, Mark Miller <[EMAIL PROTECTED]>
> wrote:
> >
> >> Hey Matt - is your build recent?
> >>
> >> Can you visit the cloud/zookeeper page in the admin and send the
> contents
> >> of the clusterstate.json node?
> >>
> >> Are you using a custom index chain or anything out of the ordinary?
> >>
> >>
> >> - Mark
> >>
> >> On Feb 27, 2012, at 12:26 PM, Matthew Parker wrote:
> >>
> >>> TWIMC:
> >>>
> >>> Environment
> >>> ========> >>> Apache SOLR rev-1236154
> >>> Apache Zookeeper 3.3.4
> >>> Windows 7
> >>> JDK 1.6.0_23.b05
> >>>
> >>> I have built a SOLR Cloud instance with 4 nodes using the embeded Jetty

This e-mail and any files transmitted with it may be proprietary.  Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Apogee Integration.
+
Mark Miller 2012-02-27, 22:34
+
Matthew Parker 2012-02-28, 02:26
+
Matthew Parker 2012-02-28, 18:00
+
Mark Miller 2012-02-29, 01:29
+
Matthew Parker 2012-02-29, 15:46
+
Matthew Parker 2012-02-29, 16:47
+
Matthew Parker 2012-02-29, 17:03
+
Sami Siren 2012-02-29, 17:25
+
Matthew Parker 2012-02-29, 17:44
+
Matthew Parker 2012-02-29, 18:15
+
Mark Miller 2012-03-01, 03:09
+
Matthew Parker 2012-03-01, 18:48
+
Mark Miller 2012-03-01, 20:35
+
Matthew Parker 2012-03-02, 00:13
+
Mark Miller 2012-03-01, 20:39
+
Matthew Parker 2012-03-02, 00:15
+
Mark Miller 2012-03-02, 01:28
+
Erick Erickson 2012-03-02, 14:06
+
Matthew Parker 2012-03-02, 19:48
+
Matthew Parker 2012-03-09, 03:57
+
Matthew Parker 2012-03-16, 19:00
+
Mark Miller 2012-03-18, 02:10
+
Matthew Parker 2012-03-18, 17:10
+
Mark Miller 2012-03-18, 18:07
+
Matthew Parker 2012-03-18, 18:44
+
Darren Govoni 2012-03-18, 18:47
+
Matthew Parker 2012-03-18, 18:50
+
Matthew Parker 2012-03-18, 18:58
+
Matthew Parker 2012-03-18, 20:23