RE: Solr Upgrade socketTimeout issue in 8.2

2020-02-19 Thread Yogesh Chaudhari
Hi,

Could you please share me the steps to upgrade SOlr?

Now I am using Solr cloud 5.2.1 on production and wanted to upgrade to 
SOlr7.7.2. I am doing this in 2 spteps SOlr 5.2.1 to SOlr 6.6.6 then SOlr 7.7.2.

I have upgraded to Solr but getting issue for indexing of old documents.  I am 
badly stuck get get old document in migrated solr version.

Should I do the re-indexing? If yes can you please share the way to re-indexing?

Can you please provide your inputs on this? 

Thanks,

Yogesh Chaudhari

-Original Message-
From: kshitij tyagi  
Sent: Wednesday, February 19, 2020 12:52 PM
To: solr-user@lucene.apache.org
Subject: Solr Upgrade socketTimeout issue in 8.2

Hi,

We have upgraded our solrCloud from version 6.6.0 to 8.2.0

At the time of indexing intermittently we are observing socketTimeout exception 
when using Collection apis. example when we try reloading one of the collection 
using CloudSolrClient class.

Is there any performance degradation in Solrcloud collection apis?

logs:

IOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of 
stream exception

EndOfStreamException: Unable to read additional data from client sessionid 
0x2663e756d775747, likely client has closed socket

at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)

at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)

at java.lang.Thread.run(Unknown Source)


logs:


Exception has occured in job switch: Timeout occurred while waiting response 
from server 
at:http://secure-web.cisco.com/1w_RA10DqbruLQVC6aKUXuMgV4hC3T14viv2m2iUptQ2hyGjYLn0sSSy0Q_XNqcVxHym-e_mOyPc_AYM4zpIWWXdyRCpvXzL3mSeFK-DzhL_CqoNi2FwQUvhk2zb8OQKs1e11yBHqblc3Kyx0XlruLvb24BUj0lBBGmJVf5E9rrTaFQbFmCdNyccx1KCIpzf2MlyeqvvXVWKCW_YbqnLWGjcfqlAylbNqJTGuKf5rbBMdJ8pn14dbFlM0QDZjn6IORWVA8NqmdhC9VwD1rzpU6dVIpsph6qz_OcgoH61wlZALQ1Zj65XRFtXvuhqEWQeaabvKactprjz1o3pflKaxttbgxz1ItRxb4FjZkBgTC24uwalAmi_CyfeP7DECtIYATYf3AJFjCUfLV8_Rj2V5J0JeCTFDi7CWqKFUhiHXtpM8PvZt8kgMIRwfgPUKHPIJ/http%3A%2F%2Fprod-t-8.net%3A8983%2Fsolr


Is anyone facing same type of issue? in Solrcloud? Any suggestions to solve??



Regards,

kshitij


no servers hosting shard: shard2

2020-02-12 Thread Yogesh Chaudhari
Hi All,

Currently we are using Solr 5.2.1 on production server and want upgrade to Solr 
7.7.2.  We are using solr 5.2.1 from last 5 years, we do have millions of 
documents on production server. We have Solr cloud with 2 shards and 3 replicas 
on production server.

I have upgraded Solr 5.2.1 to Solr 6.6.6 , it is upgraded successfully on my 
local machine.

Now I am trying to upgrading Solr 6.6.6 to Solr 7.7.2. I have upgraded all 6 
solr instances one at a time to Solr 7.7.2. I am getting below error. One shard 
(with 3 replicas) is upgraded successfully bu =t the another shard is giving an 
error (please refer below image).  Though one shard is upgraded, I can not do 
anything with that. I think issue is due to old indexes or documents.


[cid:image001.png@01D5E1E2.3BA81F70]

org.apache.solr.common.SolrException: no servers hosting shard: shard2
at 
org.apache.solr.handler.component.HttpShardHandler.prepDistributed(HttpShardHandler.java:463)
at 
org.apache.solr.handler.component.SearchHandler.getAndPrepShardHandler(SearchHandler.java:226)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:267)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2551)
at 
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:711)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)


Thanks,

Yogesh Chaudhari


Issue to upgrade solr cloud

2020-02-11 Thread Yogesh Chaudhari
Hi All,

Currently we are using Solr 5.2.1 on production server and want upgrade to Solr 
7.7.2.  We are using solr 5.2.1 from last 5 years, we do have millions of 
documents on production server. We have Solr cloud with 2 shards and 3 replicas 
on production server.

I have upgraded Solr 5.2.1 to Solr 6.6.6 , it is upgraded successfully on my 
local machine.

Now I am trying to upgrading Solr 6.6.6 to Solr 7.7.2. I have upgraded all 6 
solr instances one at a time to Solr 7.7.2. I am getting below error. One shard 
(with 3 replicas) is upgraded successfully bu =t the another shard is giving an 
error (please refer below image).  Though one shard is upgraded, I can not do 
anything with that. I think issue is due to old indexes or documents.

[cid:image001.png@01D5E0FE.D4DE4870]

o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: no servers 
hosting shard: shard2

at 
org.apache.solr.handler.component.HttpShardHandler.prepDistributed(HttpShardHandler.java:463)
at 
org.apache.solr.handler.component.SearchHandler.getAndPrepShardHandler(SearchHandler.java:226)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:267)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2551)
at 
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:711)
at 
org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:395)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:341)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
I am struggling from last few days to migrate solr 5.2.1 to Solr 7.7.1.

Can you please share your inputs or please assist me?

Thanks,

Yogesh Chaudhari


Want to upgrade Solr 5.2.1 to 7.7.2

2019-12-03 Thread Yogesh Chaudhari

Hi All,

Since 2015 we are using Solr cloud for search. We are using Solr 5.2.1 now we 
want to upgrade Solr 5.2.1 to Solr 7.7.2. Along with Solr we are using 
Zookeeper 3.4.6 and wanted to upgrade it to Zookeeper 3.4.10.  We have huge 
data stored in existing Solr and need to maintained while migrating to Solr 
7.7.1.

We have installed Solr 5.2.1 & Zookeeper 3.4.6 on windows server, for 
installation we have used NSSM tools.  We have installed 3 Zookeeper on 3 
instances , 6 shards and 9 solr nodes on 3 different instances.

Can you please share procedure to upgrade Solr 5.2.1 to Solr 7.7.2 on windows 
without affecting existing solr data (want to maintained)?

Thanks,

Yogesh Chaudhari