From dev-return-323887-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Wed May 30 16:03:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 15C4A180676 for ; Wed, 30 May 2018 16:03:04 +0200 (CEST) Received: (qmail 59259 invoked by uid 500); 30 May 2018 14:03:03 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 59247 invoked by uid 99); 30 May 2018 14:03:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2018 14:03:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4924AC01C2 for ; Wed, 30 May 2018 14:03:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nZGT2mgslZPT for ; Wed, 30 May 2018 14:03:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3A6D65F545 for ; Wed, 30 May 2018 14:03:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 86143E0AC1 for ; Wed, 30 May 2018 14:03:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 35C9521096 for ; Wed, 30 May 2018 14:03:00 +0000 (UTC) Date: Wed, 30 May 2018 14:03:00 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-12358) Autoscaling suggestions fail randomly and for certain policies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-12358?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1649= 5202#comment-16495202 ]=20 Jan H=C3=B8ydahl commented on SOLR-12358: ------------------------------------ Your commit=C2=A0a875300a897521bc618d5072b20fcd60c8f13985 also screwed up m= ore unrelated changes entries for 7.4, beyond what [~jpountz] and [~dsmiley= ] already fixed. Here are the top-most: {code:java} -Carrot2=C2=A03.16.0 +Carrot2=C2=A03.15.0 -Jetty=C2=A09.3.20.v20170531 +Jetty=C2=A09.4.10.v20180503 -*=C2=A0SOLR-12396:=C2=A0Upgrade=C2=A0Carrot2=C2=A0to=C2=A03.16.0,=C2=A0HPP= C=C2=A0to=C2=A00.8.1,=C2=A0morfologik=C2=A0to=C2=A02.1.5.=C2=A0(Dawid=C2=A0= Weiss) {code} But there are other unrelated changes as well. [~noble.paul] please go thro= ugh them all from the initial commit and fix=C2=A0all unrelated changes. > Autoscaling suggestions fail randomly and for certain policies > -------------------------------------------------------------- > > Key: SOLR-12358 > URL: https://issues.apache.org/jira/browse/SOLR-12358 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public)=20 > Components: AutoScaling > Affects Versions: 7.3.1 > Reporter: Jerry Bao > Assignee: Noble Paul > Priority: Critical > Attachments: SOLR-12358.patch, SOLR-12358.patch, SOLR-12358.patch= , SOLR-12358.patch, diagnostics, nodes > > > For the following policy > {code:java} > {"cores":=C2=A0"<4","node":=C2=A0"#ANY"}{code} > the=C2=A0suggestions endpoint fails > {code:java} > "error":=C2=A0{"msg":=C2=A0"Comparison method violates its general contra= ct!","trace":=C2=A0"java.lang.IllegalArgumentException: Comparison method v= iolates its general contract!\n\tat java.util.TimSort.mergeHi(TimSort.java:= 899)\n\tat java.util.TimSort.mergeAt(TimSort.java:516)\n\tat java.util.TimS= ort.mergeCollapse(TimSort.java:441)\n\tat java.util.TimSort.sort(TimSort.ja= va:245)\n\tat java.util.Arrays.sort(Arrays.java:1512)\n\tat java.util.Array= List.sort(ArrayList.java:1462)\n\tat java.util.Collections.sort(Collections= .java:175)\n\tat org.apache.solr.client.solrj.cloud.autoscaling.Policy.setA= pproxValuesAndSortNodes(Policy.java:363)\n\tat org.apache.solr.client.solrj= .cloud.autoscaling.Policy$Session.applyRules(Policy.java:310)\n\tat org.apa= che.solr.client.solrj.cloud.autoscaling.Policy$Session.(Policy.java:2= 72)\n\tat org.apache.solr.client.solrj.cloud.autoscaling.Policy.createSessi= on(Policy.java:376)\n\tat org.apache.solr.client.solrj.cloud.autoscaling.Po= licyHelper.getSuggestions(PolicyHelper.java:214)\n\tat org.apache.solr.clou= d.autoscaling.AutoScalingHandler.handleSuggestions(AutoScalingHandler.java:= 158)\n\tat org.apache.solr.cloud.autoscaling.AutoScalingHandler.handleReque= stBody(AutoScalingHandler.java:133)\n\tat org.apache.solr.handler.RequestHa= ndlerBase.handleRequest(RequestHandlerBase.java:195)\n\tat org.apache.solr.= api.ApiBag$ReqHandlerToApi.call(ApiBag.java:242)\n\tat org.apache.solr.api.= V2HttpCall.handleAdmin(V2HttpCall.java:311)\n\tat org.apache.solr.servlet.H= ttpSolrCall.handleAdminRequest(HttpSolrCall.java:717)\n\tat org.apache.solr= .servlet.HttpSolrCall.call(HttpSolrCall.java:498)\n\tat org.apache.solr.ser= vlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:384)\n\tat org.apa= che.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:330)\n= \tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletH= andler.java:1629)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(S= ervletHandler.java:533)\n\tat org.eclipse.jetty.server.handler.ScopedHandle= r.handle(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityH= andler.handle(SecurityHandler.java:548)\n\tat org.eclipse.jetty.server.hand= ler.HandlerWrapper.handle(HandlerWrapper.java:132)\n\tat org.eclipse.jetty.= server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)\n\tat org.e= clipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:159= 5)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHa= ndler.java:188)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHan= dle(ContextHandler.java:1253)\n\tat org.eclipse.jetty.server.handler.Scoped= Handler.nextScope(ScopedHandler.java:168)\n\tat org.eclipse.jetty.servlet.S= ervletHandler.doScope(ServletHandler.java:473)\n\tat org.eclipse.jetty.serv= er.session.SessionHandler.doScope(SessionHandler.java:1564)\n\tat org.eclip= se.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)\n\t= at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.j= ava:1155)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(Scope= dHandler.java:141)\n\tat org.eclipse.jetty.server.handler.ContextHandlerCol= lection.handle(ContextHandlerCollection.java:219)\n\tat org.eclipse.jetty.s= erver.handler.HandlerCollection.handle(HandlerCollection.java:126)\n\tat or= g.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:13= 2)\n\tat org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHan= dler.java:335)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle= (HandlerWrapper.java:132)\n\tat org.eclipse.jetty.server.Server.handle(Serv= er.java:530)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.= java:347)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConn= ection.java:256)\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback= .succeeded(AbstractConnection.java:279)\n\tat org.eclipse.jetty.io.FillInte= rest.fillable(FillInterest.java:102)\n\tat org.eclipse.jetty.io.ChannelEndP= oint$2.run(ChannelEndPoint.java:124)\n\tat org.eclipse.jetty.util.thread.st= rategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)\n\tat org.eclipse.= jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)\= n\tat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouK= ill.java:131)\n\tat org.eclipse.jetty.util.thread.ReservedThreadExecutor$Re= servedThread.run(ReservedThreadExecutor.java:382)\n\tat org.eclipse.jetty.u= til.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)\n\tat org.ecl= ipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)\n\= tat java.lang.Thread.run(Thread.java:748)\n","code":=C2=A0500}{code} > In addition, sometimes=C2=A0the suggestions endpoint fails randomly with = these policies with the same error > {code:java} > {"replica": "<2", "shard": "#EACH", "node": "#ANY"}, > {"replica": "<2", "shard": "#EACH", "sysprop.az": "us-east-1a", "collecti= on": "collection"},{code} > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org