SolrCloud Autoscaling implementation docs?

2020-06-18 Thread Ilan Ginzburg
Are there any docs, notes or Jiras with actual discussions of Autoscaling internal implementation classes such as Suggestion, Suggester and subclasses, Violation, Variable and its implementations, Clause, ComputedType and the like? I did get how Policy.Session works, now I need to understand how

Re: [JENKINS] Lucene-Solr-repro-Java11 - Build # 1162 - Still Failing

2020-06-18 Thread Jan Høydahl
The repro python script is failing on Jenkins due to SSL cert trust issues when fetching the console output File "dev-tools/scripts/reproduceJenkinsFailures.py", line 110, in fetchAndParseJenkinsLog The SSL cert of Jenkins seems legit, so it could be that Python somehow does not have

Re: [VOTE] Lucene logo contest

2020-06-18 Thread Stamatis Zampetakis
Hi all, Apparently there is an extension of the deadline so in the meanwhile if somebody has ideas about the logo feel free to share. I can give it another try although I cannot promise anything about the final outcome :P Best, Stamatis On Thu, Jun 18, 2020 at 7:00 PM wrote: > Hi Ryan,- > >

Re: [jira] [Created] (LUCENE-9411) Fail complation on warnings

2020-06-18 Thread Erick Erickson
Yeah, conceptually precommit seems right. OTOH, “anything that uses javac.args” (or gradle/defaults-java.gradle) is easy (I think at least) IOW including this in the compile-time flags wherever it’s used. This looks to be trivial and would include compilation, and by adding it to javac.args it

Re: [jira] [Created] (LUCENE-9411) Fail complation on warnings

2020-06-18 Thread Michael Sokolov
Which target are you proposing to have fail? precommit seems like the right place to me .. On Thu, Jun 18, 2020 at 3:49 PM Erick Erickson (Jira) wrote: > > Erick Erickson created LUCENE-9411: > -- > > Summary: Fail complation on warnings >

Re: [VOTE] Lucene logo contest

2020-06-18 Thread baris . kazar
Hi Ryan,-  I very much appreciate this oppurtunity to submit my designs. Best regards On 6/18/20 1:29 AM, Ryan Ernst wrote: > IMHO this vote is invalid because... > it doesn’t include the red / orange variants submitted by Dustin Haver I considered the latest submission by Dustin Haver to

Re: [VOTE] Lucene logo contest

2020-06-18 Thread David Smiley
STeVe -- very cool! STeVE gets my vote :-) ~ David On Thu, Jun 18, 2020 at 9:38 AM Mike Drob wrote: > For handling ranked voting, I wonder if we could reuse Apache STeVe > (Single Transferable Vote) which is used for the board elections. > > On Thu, Jun 18, 2020 at 8:20 AM Michael Sokolov >

Re: Lucene-Solr Maven Builds Failing 3+ months

2020-06-18 Thread Robert Muir
i'm not sure what it would take to fix clover for the gradle build, but maybe jacoco is a simpler solution, etc least for now? There is a hacky patch on https://issues.apache.org/jira/browse/LUCENE-9188 On Thu, Jun 18, 2020 at 9:42 AM Mike Drob wrote: > Related but not related, the Clover

Re: Lucene-Solr Maven Builds Failing 3+ months

2020-06-18 Thread Mike Drob
Related but not related, the Clover build is failing to compile as well. On Wed, Jun 17, 2020 at 4:05 PM David Smiley wrote: > I'll leave it to you then; thanks. I don't really have anything. You > could try to dig into the source of the old tasks we are using to see if > there is a

Re: [VOTE] Lucene logo contest

2020-06-18 Thread Mike Drob
For handling ranked voting, I wonder if we could reuse Apache STeVe (Single Transferable Vote) which is used for the board elections. On Thu, Jun 18, 2020 at 8:20 AM Michael Sokolov wrote: > Rank voting: we had a lengthy discussion about how to use this in my > book group, where we vote on

Re: [VOTE] Lucene logo contest

2020-06-18 Thread Michael Sokolov
Rank voting: we had a lengthy discussion about how to use this in my book group, where we vote on which book to read. It turns out to be hideously complex, depending on how you do it. We floated two systems. In both, voters rank their choices from 1 to N. In one scoring system, an item ranked with

Re: How to build SolrCloud collection from instance dirs after ZK is lost?

2020-06-18 Thread David Smiley
Speaking of backing up ZK, are people doing this now for Solr and can information be shared on the approach? I'm aware of scripts/code out there that can save ZK's contents to local disk and reconstitute back to ZK, perhaps at another cluster and/or chroot. But I'm not aware of what issues there

Re: How to build SolrCloud collection from instance dirs after ZK is lost?

2020-06-18 Thread Erick Erickson
I’d add to Shalin’s comment that your client should MIGRATESTATEFORMAT after the process is done, turn off legacyCloud and insure that /clusterstate.json is empty after that’s done. The old behavior restored all the state information to /clusterstate.json, and you then have this weird split

Re: How to build SolrCloud collection from instance dirs after ZK is lost?

2020-06-18 Thread Shalin Shekhar Mangar
Hi Mikhail, 1. Create an empty collection with the same number of shards as before 2. Set legacyCloud cluster property to true (it is false by default) using: ./server/scripts/cloud-scripts/zkcli.sh -zkhost 127.0.0.1:2181 -cmd clusterprop -name legacyCloud -val true 3. Bring your solr nodes back

How to build SolrCloud collection from instance dirs after ZK is lost?

2020-06-18 Thread Mikhail Khludnev
Hello, I'm challenged with cluster recovery. Think about total failure: ZK state is lost, however instanceDirs survived since they are mounted via EBS. Let's say collection is read/only and/or it doesn't have replicas, just leaders. Is there a way to create a new empty collection and say, hey