Re: An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-26 Thread Erick Erickson
Because HDFS doesn't follow the file semantics that Solr expects. There's quite a bit of background here: https://issues.apache.org/jira/browse/SOLR-8335 Best, Erick On Sun, Aug 26, 2018 at 6:47 PM zhenyuan wei wrote: > > Hi all, > I found an exception when running Solr on HDFS。The detail

Re: Multiple solr instances per host vs Multiple cores in same solr instance

2018-08-26 Thread Erick Erickson
Yes, you can use the "node placement rules", see: https://lucene.apache.org/solr/guide/6_6/rule-based-replica-placement.html This is a variant of "rack awareness". Of course the simplest way if you're not doing very many collections is to create the collection with the special "EMPTY"

Re: Multiple solr instances per host vs Multiple cores in same solr instance

2018-08-26 Thread Wei
Thanks Shawn. When using multiple Solr instances per host, is there any way to prevent solrcloud from putting multiple replicas of the same shard on same host? I see it makes sense if we can splitting into multiple instances with smaller heap size. Besides that, do you think multiple instances

RE: Authorization Non- Admin user - SOLR

2018-08-26 Thread Rathor, Piyush (US - Philadelphia)
Hi Jan, Please find attached security.json file. Please let me know if you need anything else. Thanks & Regards Piyush Rathor Consultant Please consider the environment before printing. -Original Message- From: Jan Høydahl Sent: Friday, August 24, 2018 7:45 PM To:

An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-26 Thread zhenyuan wei
Hi all, I found an exception when running Solr on HDFS。The detail is: Running solr on HDFS,and update doc was running always, then,kill -9 solr JVM or reboot linux os/shutdown linux os,then restart all. The exception appears like: 2018-08-26 22:23:12.529 ERROR

Re: solr crypto mining hack...

2018-08-26 Thread Walter Underwood
This is exactly why I asked what Solr version they were running, to see if they had the vulnerability. We still have no idea about Solr, OS, or JVM versions. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Aug 26, 2018, at 5:25 AM, Shawn Heisey

Re: solr crypto mining hack...

2018-08-26 Thread Shawn Heisey
On 8/25/2018 9:21 PM, Erick Erickson wrote: This is probably CVE-2017-12629, see SOLR-11482, SOLR-11477 for specific versions that have been patched and upgrade. You also need to, as Jan suggested, figure out a way to be absolutely sure that your installation is cleaned before you can be sure

Re: Multiple solr instances per host vs Multiple cores in same solr instance

2018-08-26 Thread Shawn Heisey
On 8/26/2018 12:00 AM, Wei wrote: I have a question about the deployment configuration in solr cloud. When we need to increase the number of shards in solr cloud, there are two options: 1. Run multiple solr instances per host, each with a different port and hosting a single core for one

Multiple solr instances per host vs Multiple cores in same solr instance

2018-08-26 Thread Wei
Hi, I have a question about the deployment configuration in solr cloud. When we need to increase the number of shards in solr cloud, there are two options: 1. Run multiple solr instances per host, each with a different port and hosting a single core for one shard. 2. Run one solr instance