Re: Solrcloud, no puts anymore and tons of “update?update.distrib=TOLEADER”

2015-02-18 Thread Abdelali AHBIB
Thank you Dominique and Shawn, now I see that clusterstate.json does not
reflect current number of cores in shard2, there are duplicated cores in
all collections like this, how can I edit clusterstate.json :

[image: Images intégrées 1]

2015-02-18 16:54 GMT+00:00 Shawn Heisey apa...@elyograg.org:

 On 2/18/2015 9:22 AM, Abdelali AHBIB wrote:
  with Collections API, they still some config files in
  /solr/config/Xunused_collection, I deleted them also manualy
 
  2015-02-18 16:16 GMT+00:00 Dominique Bejean dominique.bej...@eolya.fr:
 
  When you say I renamed some cores, cleaned other unused ones that we
 don't
  need anymore etc, how did you do this ?
  With Cores or Collections API or by deleting core's directories in Solr
  Home ?

 The collections API cannot rename anything, so I suspect that you went
 into the Core Admin section of the admin UI and clicked the rename
 button, or otherwise used the CoreAdmin API rename functionality via
 http.  If you do anything in the Core Admin screen other than adding
 cores or optimizing, bad things WILL happen to SolrCloud.  Incorrectly
 using the add core functionality can also cause problems, but it's
 less likely.

 Unless you completely understand how SolrCloud works internally, the
 only safe way to change things in SolrCloud is with the Collections API
 and the zkcli script, and none of the that functionality is currently
 exposed via the admin interface.  You have to manually make all those
 requests.

 Thanks,
 Shawn




-- 
Cordialement,
Abdelali AHBIB


Re: Solrcloud, no puts anymore and tons of “update?update.distrib=TOLEADER”

2015-02-18 Thread Abdelali AHBIB
with Collections API, they still some config files in
/solr/config/Xunused_collection, I deleted them also manualy

2015-02-18 16:16 GMT+00:00 Dominique Bejean dominique.bej...@eolya.fr:

 Hi,

 When you say I renamed some cores, cleaned other unused ones that we don't
 need anymore etc, how did you do this ?
 With Cores or Collections API or by deleting core's directories in Solr
 Home ?

 Dominique
 http://www.eolya.fr


 2015-02-18 17:04 GMT+01:00 Abdelali AHBIB alifar...@gmail.com:

  Hello,
 
  We use solrcloud with two shards (no replication for now), zookeeper is
 in
  a separate machine and it works well until yesterday when I renamed some
  cores, cleaned other unused ones that we don't need anymore etc... then I
  got tons of these errors when I try to put docs into my core sellers,
 so
  I can't add docs anymore :
 
   10.213.0.124  10.213.0.124solrcloud-2 POST
 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1
   S 5265 ms 0 KB0 KB10.213.0.12410.213.0.124
  solrcloud-2 POST
 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1
   S 5253 ms 0 KB0 KB10.213.0.12410.213.0.124
  solrcloud-2 POST
 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1 S  5277 ms 0 KB0
 
 
  in zookeeper I see some exceptions :
 
  EndOfStreamException: Unable to read additional data from client
  sessionid 0x14b98fd8e86, likely client has closed socket
  at
  org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
  at
 
 org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
  at java.lang.Thread.run(Thread.java:745)
 
  I don't see any relation between deleting some cores and theses errors
 but
  in the admin gui I see the shards list display changed (shard2 have 2
  machines?!! it's configured just in one) : [image: enter image
 description
  here]
 
  I sent cores configs to zookeeper using zcli, I reloaded cores, I
 restarted
  tomcat without any result, any advices??
 
  Tomcat 7, Solr 4.10
 
 
 
 
 
 http://stackoverflow.com/questions/28584066/solrcloud-no-puts-anymore-and-tons-of-updateupdate-distrib-toleader
 
  --
  Cordialement,
  Abdelali AHBIB
 
 
 
  --
  Cordialement,
  Abdelali AHBIB
 




-- 
Cordialement,
Abdelali AHBIB


Fwd: Solrcloud, no puts anymore and tons of “update?update.distrib=TOLEADER”

2015-02-18 Thread Abdelali AHBIB
Hello,

We use solrcloud with two shards (no replication for now), zookeeper is in
a separate machine and it works well until yesterday when I renamed some
cores, cleaned other unused ones that we don't need anymore etc... then I
got tons of these errors when I try to put docs into my core sellers, so
I can't add docs anymore :

 10.213.0.124  10.213.0.124solrcloud-2 POST 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1
 S 5265 ms 0 KB0 KB10.213.0.12410.213.0.124solrcloud-2 
 POST 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1
 S 5253 ms 0 KB0 KB10.213.0.12410.213.0.124solrcloud-2 
 POST 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1 S  5277 ms 0 KB0


in zookeeper I see some exceptions :

EndOfStreamException: Unable to read additional data from client
sessionid 0x14b98fd8e86, likely client has closed socket
at 
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
at 
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Thread.java:745)

I don't see any relation between deleting some cores and theses errors but
in the admin gui I see the shards list display changed (shard2 have 2
machines?!! it's configured just in one) : [image: enter image description
here]

I sent cores configs to zookeeper using zcli, I reloaded cores, I restarted
tomcat without any result, any advices??

Tomcat 7, Solr 4.10



http://stackoverflow.com/questions/28584066/solrcloud-no-puts-anymore-and-tons-of-updateupdate-distrib-toleader

-- 
Cordialement,
Abdelali AHBIB



-- 
Cordialement,
Abdelali AHBIB


Re: Solrcloud, no puts anymore and tons of “update?update.distrib=TOLEADER”

2015-02-18 Thread Abdelali AHBIB
sorry, no rename operation happens, juste delete (manualy from solr home
and config) and duplicate a core manualy also (this core duplicated is the
same core that don't have a problem), then I run the zkcli upconfig command

2015-02-18 16:22 GMT+00:00 Abdelali AHBIB alifar...@gmail.com:

 with Collections API, they still some config files in
 /solr/config/Xunused_collection, I deleted them also manualy

 2015-02-18 16:16 GMT+00:00 Dominique Bejean dominique.bej...@eolya.fr:

 Hi,

 When you say I renamed some cores, cleaned other unused ones that we
 don't
 need anymore etc, how did you do this ?
 With Cores or Collections API or by deleting core's directories in Solr
 Home ?

 Dominique
 http://www.eolya.fr


 2015-02-18 17:04 GMT+01:00 Abdelali AHBIB alifar...@gmail.com:

  Hello,
 
  We use solrcloud with two shards (no replication for now), zookeeper is
 in
  a separate machine and it works well until yesterday when I renamed some
  cores, cleaned other unused ones that we don't need anymore etc... then
 I
  got tons of these errors when I try to put docs into my core sellers,
 so
  I can't add docs anymore :
 
   10.213.0.124  10.213.0.124solrcloud-2 POST
 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1
   S 5265 ms 0 KB0 KB10.213.0.12410.213.0.124
  solrcloud-2 POST
 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1
   S 5253 ms 0 KB0 KB10.213.0.12410.213.0.124
  solrcloud-2 POST
 
 /solr/Sellers_shard1_replica1/update?update.distrib=TOLEADERdistrib.from=http%3A%2F%2Fsolrcloud-2%3A8080%2Fsolr%2FSellers_shard1_replica1%2Fwt=javabinversion=2
  HTTP/1.1 S  5277 ms 0 KB0
 
 
  in zookeeper I see some exceptions :
 
  EndOfStreamException: Unable to read additional data from client
  sessionid 0x14b98fd8e86, likely client has closed socket
  at
  org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
  at
 
 org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
  at java.lang.Thread.run(Thread.java:745)
 
  I don't see any relation between deleting some cores and theses errors
 but
  in the admin gui I see the shards list display changed (shard2 have 2
  machines?!! it's configured just in one) : [image: enter image
 description
  here]
 
  I sent cores configs to zookeeper using zcli, I reloaded cores, I
 restarted
  tomcat without any result, any advices??
 
  Tomcat 7, Solr 4.10
 
 
 
 
 
 http://stackoverflow.com/questions/28584066/solrcloud-no-puts-anymore-and-tons-of-updateupdate-distrib-toleader
 
  --
  Cordialement,
  Abdelali AHBIB
 
 
 
  --
  Cordialement,
  Abdelali AHBIB
 




 --
 Cordialement,
 Abdelali AHBIB




-- 
Cordialement,
Abdelali AHBIB