solrcloud dead-lock

2016-07-02 Thread Kent Mu
Hi friends I came across a problem when use solrcloud, it is dead-lock. The version is 4.9.0. we got the java core log, it looks like the http connection pool is exhausted and most threads are waiting to get a free connection. I have increased http connection defaults for the SolrJ client, and

solrcloud goes down

2016-07-02 Thread Kent Mu
Hi all I came across a problem when use solrcloud, it goes down. The version is 4.9.0. we got the java core log, it looks like the http connection pool is exhausted and most threads are waiting to get a free connection. I have increased http connection defaults for the SolrJ client, and also

Re: Data import handler in techproducts example

2016-07-02 Thread Ahmet Arslan
Hi Jonas, Search for the solr-dataimporthandler-*.jar place it under a lib directory (same level as the solr.xml file) along with the mysql jdbc driver (mysql-connector-java-*.jar) Please see: https://cwiki.apache.org/confluence/display/solr/Lib+Directives+in+SolrConfig On Saturday, July

Data import handler in techproducts example

2016-07-02 Thread Jonas Vasiliauskas
Hey, I'm quite new to solr and java environments. I have a goal for myself to import some data from mysql database in techproducts (core) example. I have setup data import handler (DIH) for techproducts based on instructions here https://wiki.apache.org/solr/DIHQuickStart , but looks like

Data import handler in techproducts example

2016-07-02 Thread Jonas Vasiliauskas
Hey, I'm quite new to solr and java environments. I have a goal for myself to import some data from mysql database in techproducts (core) example. I have setup data import handler (DIH) for techproducts based on instructions here https://wiki.apache.org/solr/DIHQuickStart , but looks like

Re: an advice: why not to add a searching model for mailing list

2016-07-02 Thread Ahmet Arslan
Hi Kent, There are already two search systems for the task: http://find.searchhub.org http://search-lucene.com Is this what you mean by saying 'search model'? Ahmet On Saturday, July 2, 2016 6:43 PM, Kent Mu wrote: hi all, I wonder why not do add a searching model

an advice: why not to add a searching model for mailing list

2016-07-02 Thread Kent Mu
hi all, I wonder why not do add a searching model for mailing list, so that we can filter and query the usage info by searching the specified words quickly. Best Regards! Kent

Re: questions for the method "shutdown" of CloudSolrServer

2016-07-02 Thread Kent Mu
Thanks a lot! I see now. still have a thorny problem about solrcloud. please do me a favor to analysis it. I came across a problem when use solrcloud , it goes down, not an OOM issue. The version is 4.9.0. we got the java core log, it looks like the http connection pool is exhausted and most

Re: questions for the method "shutdown" of CloudSolrServer

2016-07-02 Thread Shawn Heisey
On 7/2/2016 2:29 AM, Kent Mu wrote: > this kind of method by create an instance with a LBHttpSolrServer does > not need to release LBHttpSolrServer and HttpClient?? The cloud client will only shutdown the LB client and its HttpClient if it was the one who created those resources. When they are

Re: Load a java class on start up

2016-07-02 Thread Mark Robinson
Yes. Integrating my CustomComponent along with SolrCoreAware (I was unaware of this prev) should give me what I am looking for. Thanks! Mark. On Sat, Jul 2, 2016 at 5:57 AM, Andrea Gazzarini wrote: > You're welcome ;) is that close to what you were looking for? > On 2 Jul

Re: Load a java class on start up

2016-07-02 Thread Andrea Gazzarini
You're welcome ;) is that close to what you were looking for? On 2 Jul 2016 11:53, "Mark Robinson" wrote: > Thanks much Andrea esp. for the suggestion of SolrCoreAware! > > > > Best, > Mark. > > On Thu, Jun 30, 2016 at 10:23 AM, Andrea Gazzarini >

Re: Load a java class on start up

2016-07-02 Thread Mark Robinson
Thanks much Andrea esp. for the suggestion of SolrCoreAware! Best, Mark. On Thu, Jun 30, 2016 at 10:23 AM, Andrea Gazzarini wrote: > Hi, > the lifecycle of your Solr extension (i.e. the component) is not something > that's up to you. > Before designing the component you

questions for the method "shutdown" of CloudSolrServer

2016-07-02 Thread Kent Mu
hi all, I create a CloudSolrServer Connection by singleton pattern like this public synchronized static CloudSolrServer getSolrCloudReadServer() { if (reviewSolrCloudServer == null) { ModifiableSolrParams params = new ModifiableSolrParams();

Re: solr shutdown error

2016-07-02 Thread Kent Mu
Thanks for your reply! I do understand your explaination, but another question accurs, When I create CloudSolrServer Connection by singleton pattern like this, and I call shutdown, but it's OK. the solr version is 4.9.0. that's why? public synchronized static CloudSolrServer

Re: solr shutdown error

2016-07-02 Thread Shawn Heisey
On 7/1/2016 10:59 PM, Kent Mu wrote: > solr version: 4.9.0 I create and get a HttpSolrServer connection by > singleton pattern. I find the method of "shutdown" in solrj API, so I > decided to use "shutdown" to release resources, but I got the error as > below, It is due to singleton pattern? If