[jira] [Commented] (SOLR-6357) Using query time Join in deleteByQuery throws ClassCastException
[ https://issues.apache.org/jira/browse/SOLR-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255528#comment-14255528 ] Mikhail Khludnev commented on SOLR-6357: SOLR-6234 is a solution > Using query time Join in deleteByQuery throws ClassCastException > > > Key: SOLR-6357 > URL: https://issues.apache.org/jira/browse/SOLR-6357 > Project: Solr > Issue Type: Bug > Components: query parsers >Affects Versions: 4.9 >Reporter: Arcadius Ahouansou > > Consider the following input document where we have: > - 1 Samsung mobile phone and > - 2 manufactures: Apple and Samsung. > {code} > [ >{ > "id":"galaxy note ii", > "cat":"product", > "manu_s":"samsung" >}, >{ > "id":"samsung", > "cat":"manufacturer", > "name":"Samsung Electronics" >}, >{ > "id":"apple", > "cat":"manufacturer", > "name":"Apple Inc" >} > ] > {code} > My objective is to delete from the default index all manufacturers not having > any product in the index. > After indexing ( curl 'http://localhost:8983/solr/update?commit=true' -H > "Content-Type: text/json" --data-binary @delete-by-join-query.json ) > I went to > {code}http://localhost:8983/solr/select?q=cat:manufacturer -{!join > from=manu_s to=id}cat:product > {code} > and I could see only Apple, the only manufacturer not having any product in > the index. > However, when I use that same query for deletion: > {code} > http://localhost:8983/solr/update?commit=true&stream.body=cat:manufacturer > -{!join from=manu_s to=id}cat:product > {code} > I get > {code} > java.lang.ClassCastException: org.apache.lucene.search.IndexSearcher cannot > be cast to org.apache.solr.search.SolrIndexSearcher > at > org.apache.solr.search.JoinQuery.createWeight(JoinQParserPlugin.java:143) > at > org.apache.lucene.search.BooleanQuery$BooleanWeight.(BooleanQuery.java:185) > at > org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:526) > at > org.apache.lucene.search.BooleanQuery$BooleanWeight.(BooleanQuery.java:185) > at > org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:526) > at > org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:684) > at > org.apache.lucene.search.QueryWrapperFilter.getDocIdSet(QueryWrapperFilter.java:55) > at > org.apache.lucene.index.BufferedUpdatesStream.applyQueryDeletes(BufferedUpdatesStream.java:552) > at > org.apache.lucene.index.BufferedUpdatesStream.applyDeletesAndUpdates(BufferedUpdatesStream.java:287) > at > {code} > This seems to be a bug. > Looking at the source code, the exception is happening in {code} > @Override > public Weight createWeight(IndexSearcher searcher) throws IOException { > return new JoinQueryWeight((SolrIndexSearcher)searcher); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-2272) Join
[ https://issues.apache.org/jira/browse/SOLR-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255525#comment-14255525 ] Mikhail Khludnev commented on SOLR-2272: fwiw, cross-core join test coverage exists only in SOLR-6234 patch. > Join > > > Key: SOLR-2272 > URL: https://issues.apache.org/jira/browse/SOLR-2272 > Project: Solr > Issue Type: New Feature > Components: search >Reporter: Yonik Seeley > Fix For: 4.0-ALPHA > > Attachments: SOLR-2272.patch, SOLR-2272.patch, SOLR-2272.patch > > > Limited join functionality for Solr, mapping one set of IDs matching a query > to another set of IDs, based on the indexed tokens of the fields. > Example: > fq={!join from=parent_ptr to:parent_id}child_doc:query -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-6234) Scoring modes for query time join
[ https://issues.apache.org/jira/browse/SOLR-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Khludnev updated SOLR-6234: --- Description: it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. It supports: - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil) - {{score=none}} is *default*, eg if you *omit* this localparam - supports {{b=100}} param to pass {{Query.setBoost()}}. - {{multiVals=true|false}} is introduced - there is a test coverage for cross core join case. - so far it joins string and multivalue string fields (Sorted, SortedSet, Binary), but not Numerics DVs. follow-up LUCENE-5868 -there was a bug in cross core join, however there is a workaround for it- it's fixed in Dec'14 patch. Note: the development of this patch was sponsored by an anonymous contributor and approved for release under Apache License. was: it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. It supports: - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil) - {{score=none}} is *default*, eg if you *omit* this localparam - supports {{b=100}} param to pass {{Query.setBoost()}}. So far - -it always passes {{multipleValuesPerDocument=true}}- {{multiVals=true|false}} is introduced - -it doesn't cover cross core join case,- it covers cross-core join but rather opportunistically.I just can't find the multicore testcase in Solr test, I appreciate if you point me on one. - -I attach standalone plugin project, let me know if somebody interested, I convert it into the proper Solr codebase patch. Also please mention the blockers!- done. thanks for your attitude! - so far it joins string and multivalue string fields (Sorted, SortedSet, Binary), but not Numerics DVs. follow-up LUCENE-5868 *Caveat:* there is a bug in cross core join, however there is a workaround for it. Note: the development of this patch was sponsored by an anonymous contributor and approved for release under Apache License. > Scoring modes for query time join > -- > > Key: SOLR-6234 > URL: https://issues.apache.org/jira/browse/SOLR-6234 > Project: Solr > Issue Type: New Feature > Components: query parsers >Affects Versions: 4.10.3, Trunk >Reporter: Mikhail Khludnev > Labels: features, patch, test > Fix For: 5.0, Trunk > > Attachments: SOLR-6234.patch, SOLR-6234.patch > > > it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. > It supports: > - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil) > - {{score=none}} is *default*, eg if you *omit* this localparam > - supports {{b=100}} param to pass {{Query.setBoost()}}. > - {{multiVals=true|false}} is introduced > - there is a test coverage for cross core join case. > - so far it joins string and multivalue string fields (Sorted, SortedSet, > Binary), but not Numerics DVs. follow-up LUCENE-5868 > -there was a bug in cross core join, however there is a workaround for it- > it's fixed in Dec'14 patch. > Note: the development of this patch was sponsored by an anonymous contributor > and approved for release under Apache License. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-6234) Scoring modes for query time join
[ https://issues.apache.org/jira/browse/SOLR-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Khludnev updated SOLR-6234: --- Attachment: (was: lucene-join-solr-query-parser-0.0.2.zip) > Scoring modes for query time join > -- > > Key: SOLR-6234 > URL: https://issues.apache.org/jira/browse/SOLR-6234 > Project: Solr > Issue Type: New Feature > Components: query parsers >Affects Versions: 4.10.3, Trunk >Reporter: Mikhail Khludnev > Labels: features, patch, test > Fix For: 5.0, Trunk > > Attachments: SOLR-6234.patch, SOLR-6234.patch > > > it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. > It supports: > - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil) > - {{score=none}} is *default*, eg if you *omit* this localparam > - supports {{b=100}} param to pass {{Query.setBoost()}}. > - {{multiVals=true|false}} is introduced > - there is a test coverage for cross core join case. > - so far it joins string and multivalue string fields (Sorted, SortedSet, > Binary), but not Numerics DVs. follow-up LUCENE-5868 > -there was a bug in cross core join, however there is a workaround for it- > it's fixed in Dec'14 patch. > Note: the development of this patch was sponsored by an anonymous contributor > and approved for release under Apache License. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-1632) Distributed IDF
[ https://issues.apache.org/jira/browse/SOLR-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255504#comment-14255504 ] Anshum Gupta commented on SOLR-1632: Thanks to everyone who's contributed on this one! The list is long :) I've committed this to trunk, if all stays well, will commit it into 5x later in the (coming) week. > Distributed IDF > --- > > Key: SOLR-1632 > URL: https://issues.apache.org/jira/browse/SOLR-1632 > Project: Solr > Issue Type: New Feature > Components: search >Affects Versions: 1.5 >Reporter: Andrzej Bialecki >Assignee: Anshum Gupta > Fix For: 5.0, Trunk > > Attachments: 3x_SOLR-1632_doesntwork.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, distrib-2.patch, > distrib.patch > > > Distributed IDF is a valuable enhancement for distributed search across > non-uniform shards. This issue tracks the proposed implementation of an API > to support this functionality in Solr. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-1632) Distributed IDF
[ https://issues.apache.org/jira/browse/SOLR-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255502#comment-14255502 ] ASF subversion and git services commented on SOLR-1632: --- Commit 1647253 from [~anshumg] in branch 'dev/trunk' [ https://svn.apache.org/r1647253 ] SOLR-1632: Distributed IDF, finally. > Distributed IDF > --- > > Key: SOLR-1632 > URL: https://issues.apache.org/jira/browse/SOLR-1632 > Project: Solr > Issue Type: New Feature > Components: search >Affects Versions: 1.5 >Reporter: Andrzej Bialecki >Assignee: Anshum Gupta > Fix For: 5.0, Trunk > > Attachments: 3x_SOLR-1632_doesntwork.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, > SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, distrib-2.patch, > distrib.patch > > > Distributed IDF is a valuable enhancement for distributed search across > non-uniform shards. This issue tracks the proposed implementation of an API > to support this functionality in Solr. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-Tests-5.x-Java7 - Build # 2362 - Failure
Build: https://builds.apache.org/job/Lucene-Solr-Tests-5.x-Java7/2362/ 4 tests failed. REGRESSION: org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testDistribSearch Error Message: expected:<...6ACFD771558DB-001/te[mpDir-003/solrj_test_core_props_shard1_replica1]> but was:<...6ACFD771558DB-001/te[stPropertyParamsForCreate-001/instanceDir-wx]> Stack Trace: org.junit.ComparisonFailure: expected:<...6ACFD771558DB-001/te[mpDir-003/solrj_test_core_props_shard1_replica1]> but was:<...6ACFD771558DB-001/te[stPropertyParamsForCreate-001/instanceDir-wx]> at __randomizedtesting.SeedInfo.seed([5F26ACFD771558DB:DEC022E5004A38E7]:0) at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.checkInstanceDirs(CollectionsAPIDistributedZkTest.java:1154) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testCollectionsAPI(CollectionsAPIDistributedZkTest.java:901) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[jira] [Updated] (LUCENE-6125) Add more safety checks to MockDirectoryWrapper
[ https://issues.apache.org/jira/browse/LUCENE-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-6125: Attachment: LUCENE-6125.patch > Add more safety checks to MockDirectoryWrapper > -- > > Key: LUCENE-6125 > URL: https://issues.apache.org/jira/browse/LUCENE-6125 > Project: Lucene - Core > Issue Type: Bug >Reporter: Robert Muir > Attachments: LUCENE-6125.patch > > > When working on LUCENE-6124, i had to force FSDirectory in my test to find > bugs. > for performance reasons, no IndexInput/Outputs are doing any checks like > ensureOpen when reading and writing data, but MockDirectoryWrapper needs to > do this so that tests can find bugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-5.x-Linux (64bit/jdk1.9.0-ea-b34) - Build # 11618 - Failure!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11618/ Java: 64bit/jdk1.9.0-ea-b34 -XX:-UseCompressedOops -XX:+UseG1GC (asserts: true) 4 tests failed. FAILED: junit.framework.TestSuite.org.apache.solr.cloud.CollectionsAPIDistributedZkTest Error Message: ERROR: SolrZkClient opens=21 closes=20 Stack Trace: java.lang.AssertionError: ERROR: SolrZkClient opens=21 closes=20 at __randomizedtesting.SeedInfo.seed([67D86FDA060EEEF6]:0) at org.junit.Assert.fail(Assert.java:93) at org.apache.solr.SolrTestCaseJ4.endTrackingZkClients(SolrTestCaseJ4.java:462) at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:188) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:790) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at java.lang.Thread.run(Thread.java:745) FAILED: junit.framework.TestSuite.org.apache.solr.cloud.CollectionsAPIDistributedZkTest Error Message: 6 threads leaked from SUITE scope at org.apache.solr.cloud.CollectionsAPIDistributedZkTest: 1) Thread[id=4138, name=zkCallback-597-thread-4, state=TIMED_WAITING, group=TGRP-CollectionsAPIDistributedZkTest] at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)2) Thread[id=4049, name=TEST-CollectionsAPIDistributedZkTest.testDistribSearch-seed#[67D86FDA060EEEF6]-SendThread(127.0.0.1:57960), state=TIMED_WAITING, group=TGRP-CollectionsAPIDistributedZkTest] at java.lang.Thread.sleep(Native Method) at org.apache.zookeeper.client.StaticHostProvider.next(StaticHostProvider.java:101) at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:940) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003) 3) Thread[id=4094, name=zkCallback-597-thread-2, state=TIMED_WAITING, group=TGRP-CollectionsAPIDistributedZkTest] at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueu
[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b34) - Build # 11786 - Still Failing!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11786/ Java: 32bit/jdk1.9.0-ea-b34 -client -XX:+UseSerialGC (asserts: true) 1 tests failed. FAILED: org.apache.solr.core.TestDynamicLoading.testDistribSearch Error Message: { "responseHeader":{ "status":404, "QTime":9}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: Stack Trace: java.lang.AssertionError: { "responseHeader":{ "status":404, "QTime":9}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: at __randomizedtesting.SeedInfo.seed([EF0F53BF98818A35:6EE9DDA7EFDEEA09]:0) at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.apache.solr.core.TestDynamicLoading.dynamicLoading(TestDynamicLoading.java:101) at org.apache.solr.core.TestDynamicLoading.doTest(TestDynamicLoading.java:64) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFai
[JENKINS] Lucene-Solr-NightlyTests-5.x - Build # 710 - Still Failing
Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-5.x/710/ 2 tests failed. FAILED: junit.framework.TestSuite.org.apache.solr.cloud.MultiThreadedOCPTest Error Message: 1 thread leaked from SUITE scope at org.apache.solr.cloud.MultiThreadedOCPTest: 1) Thread[id=1510, name=OverseerThreadFactory-607-thread-5, state=TIMED_WAITING, group=Overseer collection creation process.] at java.lang.Thread.sleep(Native Method) at org.apache.solr.cloud.OverseerCollectionProcessor.waitForCoreNodeName(OverseerCollectionProcessor.java:1849) at org.apache.solr.cloud.OverseerCollectionProcessor.splitShard(OverseerCollectionProcessor.java:1731) at org.apache.solr.cloud.OverseerCollectionProcessor.processMessage(OverseerCollectionProcessor.java:617) at org.apache.solr.cloud.OverseerCollectionProcessor$Runner.run(OverseerCollectionProcessor.java:2858) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Stack Trace: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.cloud.MultiThreadedOCPTest: 1) Thread[id=1510, name=OverseerThreadFactory-607-thread-5, state=TIMED_WAITING, group=Overseer collection creation process.] at java.lang.Thread.sleep(Native Method) at org.apache.solr.cloud.OverseerCollectionProcessor.waitForCoreNodeName(OverseerCollectionProcessor.java:1849) at org.apache.solr.cloud.OverseerCollectionProcessor.splitShard(OverseerCollectionProcessor.java:1731) at org.apache.solr.cloud.OverseerCollectionProcessor.processMessage(OverseerCollectionProcessor.java:617) at org.apache.solr.cloud.OverseerCollectionProcessor$Runner.run(OverseerCollectionProcessor.java:2858) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at __randomizedtesting.SeedInfo.seed([C2427DFB85DC2ED8]:0) FAILED: org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testDistribSearch Error Message: Error from server at http://127.0.0.1:61856: java.lang.NullPointerException Stack Trace: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error from server at http://127.0.0.1:61856: java.lang.NullPointerException at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:566) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:213) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:209) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testErrorHandling(CollectionsAPIDistributedZkTest.java:650) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:207) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.
[JENKINS] Lucene-Solr-trunk-Windows (64bit/jdk1.8.0_40-ea-b09) - Build # 4505 - Failure!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/4505/ Java: 64bit/jdk1.8.0_40-ea-b09 -XX:-UseCompressedOops -XX:+UseSerialGC (asserts: false) 1 tests failed. FAILED: org.apache.solr.core.TestDynamicLoading.testDistribSearch Error Message: { "responseHeader":{ "status":404, "QTime":4}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: Stack Trace: java.lang.AssertionError: { "responseHeader":{ "status":404, "QTime":4}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: at __randomizedtesting.SeedInfo.seed([8059AC076177A0AF:1BF221F1628C093]:0) at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.apache.solr.core.TestDynamicLoading.dynamicLoading(TestDynamicLoading.java:101) at org.apache.solr.core.TestDynamicLoading.doTest(TestDynamicLoading.java:64) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestR
[jira] [Updated] (SOLR-6234) Scoring modes for query time join
[ https://issues.apache.org/jira/browse/SOLR-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Khludnev updated SOLR-6234: --- Attachment: SOLR-6234.patch attaching fix for: - cross-core query parsing with test coverage. *Note:* it's the only cross-core test for the current \{\!join query parser! ; - also added multiVals into equality&hash > Scoring modes for query time join > -- > > Key: SOLR-6234 > URL: https://issues.apache.org/jira/browse/SOLR-6234 > Project: Solr > Issue Type: New Feature > Components: query parsers >Affects Versions: 4.10.3, Trunk >Reporter: Mikhail Khludnev > Labels: features, patch, test > Fix For: 5.0, Trunk > > Attachments: SOLR-6234.patch, SOLR-6234.patch, > lucene-join-solr-query-parser-0.0.2.zip > > > it adds {{scorejoin}} query parser which calls Lucene's JoinUtil underneath. > It supports: > - {{score=none|avg|max|total}} local param (passed as ScoreMode to JoinUtil) > - {{score=none}} is *default*, eg if you *omit* this localparam > - supports {{b=100}} param to pass {{Query.setBoost()}}. > So far > - -it always passes {{multipleValuesPerDocument=true}}- > {{multiVals=true|false}} is introduced > - -it doesn't cover cross core join case,- it covers cross-core join but > rather opportunistically.I just can't find the multicore testcase in Solr > test, I appreciate if you point me on one. > - -I attach standalone plugin project, let me know if somebody interested, I > convert it into the proper Solr codebase patch. Also please mention the > blockers!- done. thanks for your attitude! > - so far it joins string and multivalue string fields (Sorted, SortedSet, > Binary), but not Numerics DVs. follow-up LUCENE-5868 > *Caveat:* there is a bug in cross core join, however there is a workaround > for it. > Note: the development of this patch was sponsored by an anonymous contributor > and approved for release under Apache License. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-6770) Add/edit param sets and use them in Requests
[ https://issues.apache.org/jira/browse/SOLR-6770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255276#comment-14255276 ] Shalin Shekhar Mangar commented on SOLR-6770: - This looks nice! # Can we please use "params" or "value" instead of "val" in the json commands? # Specifying the content-type would be optional, right? > Add/edit param sets and use them in Requests > > > Key: SOLR-6770 > URL: https://issues.apache.org/jira/browse/SOLR-6770 > Project: Solr > Issue Type: Sub-task >Reporter: Noble Paul >Assignee: Noble Paul > > Make it possible to define paramsets and use them directly in requests > example > {code} > curl http://localhost:8983/solr/collection1/config/params -H > 'Content-type:application/json' -d '{ > "create" : {"name" ,"x", > "val": { > "a":"A val", > "b": "B val"} >}, > "update" : {"name" ,"y", > "val": { >"x":"X val", >"Y": "Y val"} >}, > "delete" : "z" > }' > #do a GET to view all the configured params > curl http://localhost:8983/solr/collection1/config/params > #or GET with a specific name to get only one set of params > curl http://localhost:8983/solr/collection1/config/params/x > {code} > This data will be stored in conf/params.json > This is used requesttime and adding/editing params will not result in core > reload and it will have no impact on the performance > example usage http://localhost/solr/collection/select?useParams=x,y > or it can be directly configured with a request handler as follows > {code} > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-trunk-Linux (64bit/jdk1.8.0_20) - Build # 11785 - Still Failing!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11785/ Java: 64bit/jdk1.8.0_20 -XX:-UseCompressedOops -XX:+UseG1GC (asserts: false) 5 tests failed. FAILED: junit.framework.TestSuite.org.apache.solr.cloud.CollectionsAPIDistributedZkTest Error Message: ERROR: SolrZkClient opens=21 closes=20 Stack Trace: java.lang.AssertionError: ERROR: SolrZkClient opens=21 closes=20 at __randomizedtesting.SeedInfo.seed([FBE6A7454CA7C3D4]:0) at org.junit.Assert.fail(Assert.java:93) at org.apache.solr.SolrTestCaseJ4.endTrackingZkClients(SolrTestCaseJ4.java:462) at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:188) at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:790) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at java.lang.Thread.run(Thread.java:745) FAILED: junit.framework.TestSuite.org.apache.solr.cloud.CollectionsAPIDistributedZkTest Error Message: 6 threads leaked from SUITE scope at org.apache.solr.cloud.CollectionsAPIDistributedZkTest: 1) Thread[id=1185, name=TEST-CollectionsAPIDistributedZkTest.testDistribSearch-seed#[FBE6A7454CA7C3D4]-EventThread, state=WAITING, group=TGRP-CollectionsAPIDistributedZkTest] at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:494) 2) Thread[id=1184, name=TEST-CollectionsAPIDistributedZkTest.testDistribSearch-seed#[FBE6A7454CA7C3D4]-SendThread(127.0.0.1:43269), state=TIMED_WAITING, group=TGRP-CollectionsAPIDistributedZkTest] at java.lang.Thread.sleep(Native Method) at org.apache.zookeeper.client.StaticHostProvider.next(StaticHostProvider.java:101) at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:940) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003) 3) Thread[id=1283, name=zkCallback-158-thread-3, state=TIMED_WAITING, group=TGRP-CollectionsAPIDistributedZkTest] at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecu
[JENKINS-MAVEN] Lucene-Solr-Maven-5.x #794: POMs out of sync
Build: https://builds.apache.org/job/Lucene-Solr-Maven-5.x/794/ 7 tests failed. FAILED: org.apache.solr.hadoop.MapReduceIndexerToolArgumentParserTest.org.apache.solr.hadoop.MapReduceIndexerToolArgumentParserTest Error Message: null Stack Trace: java.lang.AssertionError: null at __randomizedtesting.SeedInfo.seed([3308A9222C195E4E]:0) at org.apache.lucene.util.TestRuleTemporaryFilesCleanup.before(TestRuleTemporaryFilesCleanup.java:105) at com.carrotsearch.randomizedtesting.rules.TestRuleAdapter$1.before(TestRuleAdapter.java:26) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:35) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at java.lang.Thread.run(Thread.java:745) REGRESSION: org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testDistribSearch Error Message: expected:<...5D15E54BA2297-001/te[mpDir-003/solrj_test_core_props_shard1_replica1]> but was:<...5D15E54BA2297-001/te[stPropertyParamsForCreate-001/instanceDir-hjrq]> Stack Trace: org.junit.ComparisonFailure: expected:<...5D15E54BA2297-001/te[mpDir-003/solrj_test_core_props_shard1_replica1]> but was:<...5D15E54BA2297-001/te[stPropertyParamsForCreate-001/instanceDir-hjrq]> at __randomizedtesting.SeedInfo.seed([F305D15E54BA2297:72E35F4623E542AB]:0) at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.checkInstanceDirs(CollectionsAPIDistributedZkTest.java:1154) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testCollectionsAPI(CollectionsAPIDistributedZkTest.java:901) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205) FAILED: org.apache.solr.cloud.CollectionsAPIDistributedZkTest.org.apache.solr.cloud.CollectionsAPIDistributedZkTest Error Message: ERROR: SolrZkClient opens=19 closes=18 Stack Trace: java.lang.AssertionError: ERROR: SolrZkClient opens=19 closes=18 at __randomizedtesting.SeedInfo.seed([F305D15E54BA2297]:0) at org.junit.Assert.fail(Assert.java:93) at org.apache.solr.SolrTestCaseJ4.endTrackingZkClients(SolrTestCaseJ4.java:461) at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:188) at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:790) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at or
[jira] [Updated] (SOLR-6877) Order of createNodeList should be respected during collection creation
[ https://issues.apache.org/jira/browse/SOLR-6877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Bower updated SOLR-6877: --- Attachment: SOLR-6877.patch > Order of createNodeList should be respected during collection creation > -- > > Key: SOLR-6877 > URL: https://issues.apache.org/jira/browse/SOLR-6877 > Project: Solr > Issue Type: Bug >Affects Versions: 4.10.2 >Reporter: Steven Bower > Attachments: SOLR-6877.patch > > > When you use the collection api to create a new collection and you specify > the "createNodeList" attribute to the CREATE command it does not preserve the > ordering of the node list and thus does not produce a predictable pattern. > Use case: I want to create a collection with 12 shards (maxShardsPerNode == 4 > and I have 3 servers and I specify createNodeList=server1,server2,server3.. > I'd expect to get: > server1 : shard1,shard4,shard7,shard10 > server2 : shard2,shard5,shard8,shard11 > server3 : shard3,shard6,shard9,shard12 > But what you often get is something not that because the list order isn't > respected so you might get: > server1 : shard1,shard4,shard7,shard10 > server2 : shard3,shard6,shard9,shard12 > server3 : shard2,shard5,shard8,shard11 > Anyway.. Easy to fix.. patch attached.. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-6877) Order of createNodeList should be respected during collection creation
Steven Bower created SOLR-6877: -- Summary: Order of createNodeList should be respected during collection creation Key: SOLR-6877 URL: https://issues.apache.org/jira/browse/SOLR-6877 Project: Solr Issue Type: Bug Affects Versions: 4.10.2 Reporter: Steven Bower When you use the collection api to create a new collection and you specify the "createNodeList" attribute to the CREATE command it does not preserve the ordering of the node list and thus does not produce a predictable pattern. Use case: I want to create a collection with 12 shards (maxShardsPerNode == 4 and I have 3 servers and I specify createNodeList=server1,server2,server3.. I'd expect to get: server1 : shard1,shard4,shard7,shard10 server2 : shard2,shard5,shard8,shard11 server3 : shard3,shard6,shard9,shard12 But what you often get is something not that because the list order isn't respected so you might get: server1 : shard1,shard4,shard7,shard10 server2 : shard3,shard6,shard9,shard12 server3 : shard2,shard5,shard8,shard11 Anyway.. Easy to fix.. patch attached.. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-6220) Replica placement strategy for solrcloud
[ https://issues.apache.org/jira/browse/SOLR-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255216#comment-14255216 ] Steven Bower commented on SOLR-6220: I like where you are going with this... Some thoughts: This snitch information I think should be exposed at a more general level than just in replica placement.. One very useful area would be in query routing for datacenter/rack/server afinity.. There seem to be several types of information the "snitch" is providing; System (cpu, dc, rack, etc..), Node (# cores, etc..), Collection (# shards, routing, etc..), Shard (# docs, # replicas, Core (disk size, etc..).. Plus ideally you'd like to have managed properties really at all levels... I wonder if a more robust framework for the snitches would be better: I am thinking something more hierarchical, imagine a tree where the top level elements are provided by a collection of snitches that are dynamically provided when requested... {noformat} { "system" : { "dc" : "east" "rack" : 124 }, "collection" : { "name" : "foo", "numShards" : 5, } "..." } {noformat} This way you could layer in lots of different information without having to re-implement functionality in different snitches or have some complex snitch class hierarchy... you'd simply plug snitches into different parts of the infrastructure (node, collection, etc..) Obviously this would need to be fleshed out a bit more.. The idea of Snitches is somewhat in the spirit of Chef's Ohai (https://github.com/opscode/ohai) it may be beneficial to provide something similar... and/or we could lift/port some code for things it does already outside Solr In terms of the rule-sets.. I'm curious with the rules you describe how you'd model: - N shards evenly distributed between D datacenters (for this case assume N is evenly divisible by D) - All replicas should be in separate racks (unless there is no other choice) - All replicas should be on separate hosts (unless there is no other choice) > Replica placement strategy for solrcloud > > > Key: SOLR-6220 > URL: https://issues.apache.org/jira/browse/SOLR-6220 > Project: Solr > Issue Type: Bug > Components: SolrCloud >Reporter: Noble Paul >Assignee: Noble Paul > > h1.Objective > Most cloud based systems allow to specify rules on how the replicas/nodes of > a cluster are allocated . Solr should have a flexible mechanism through which > we should be able to control allocation of replicas or later change it to > suit the needs of the system > All configurations are per collection basis. The rules are applied whenever a > replica is created in any of the shards in a given collection during > * collection creation > * shard splitting > * add replica > * createsshard > There are two aspects to how replicas are placed: snitch and placement. > h2.snitch > How to identify the tags of nodes. Snitches are configured through collection > create command with the snitch prefix . eg: snitch.type=EC2Snitch. > The system provides the following implicit tag names which cannot be used by > other snitches > * node : The solr nodename > * host : The hostname > * ip : The ip address of the host > * cores : This is a dynamic varibale which gives the core count at any given > point > * disk : This is a dynamic variable which gives the available disk space at > any given point > There will a few snitches provided by the system such as > h3.EC2Snitch > Provides two tags called dc, rack from the region and zone values in EC2 > h3.IPSnitch > Use the IP to infer the “dc” and “rack” values > h3.NodePropertySnitch > This lets users provide system properties to each node with tagname and value > . > example : -Dsolrcloud.snitch.vals=tag-x:val-a,tag-y:val-b. This means this > particular node will have two tags “tag-x” and “tag-y” . > > h3.RestSnitch > Which lets the user configure a url which the server can invoke and get all > the tags for a given node. > This takes extra parameters in create command > example: > {{snitch.type=RestSnitch&snitch.url=http://snitchserverhost:port?nodename={}}} > The response of the rest call > {{http://snitchserverhost:port/?nodename=192.168.1:8080_solr}} > must be in either json format or properties format. > eg: > {code:JavaScript} > { > “tag-x”:”x-val”, > “tag-y”:”y-val” > } > {code} > or > {noformat} > tag-x=x-val > tag-y=y-val > {noformat} > h3.ManagedSnitch > This snitch keeps a list of nodes and their tag value pairs in Zookeeper. The > user should be able to manage the tags and values of each node through a > collection API > h2.Placement > This tells how many replicas for a given shard needs to be assigned to nodes > with the given key value pairs. These parameters will be passed on to the > collectio
[jira] [Commented] (SOLR-6876) Remove unused legacy scripts.conf
[ https://issues.apache.org/jira/browse/SOLR-6876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255201#comment-14255201 ] Alexandre Rafalovitch commented on SOLR-6876: - Fix - delete the following files: {quote} solr/example/example-DIH/solr/db/conf/scripts.conf solr/example/example-DIH/solr/mail/conf/scripts.conf solr/example/example-DIH/solr/rss/conf/scripts.conf solr/example/example-DIH/solr/solr/conf/scripts.conf solr/server/solr/configsets/sample_techproducts_configs/conf/scripts.conf {quote} *ant test* passes with the files deleted. > Remove unused legacy scripts.conf > - > > Key: SOLR-6876 > URL: https://issues.apache.org/jira/browse/SOLR-6876 > Project: Solr > Issue Type: Bug >Affects Versions: 4.10.2, 5.0, Trunk >Reporter: Alexandre Rafalovitch >Priority: Minor > > Some of the example collections include *scripts.conf* in the *conf* > directory. It is not used by anything in the distribution and is somehow left > over from the Solr 1.x legacy days. > It should be possible to safe delete it to avoid confusing users trying to > understand what different files actually do. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-trunk-MacOSX (64bit/jdk1.8.0) - Build # 2008 - Still Failing!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2008/ Java: 64bit/jdk1.8.0 -XX:+UseCompressedOops -XX:+UseParallelGC (asserts: true) 1 tests failed. FAILED: org.apache.solr.core.TestDynamicLoading.testDistribSearch Error Message: { "responseHeader":{ "status":404, "QTime":14}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: Stack Trace: java.lang.AssertionError: { "responseHeader":{ "status":404, "QTime":14}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: at __randomizedtesting.SeedInfo.seed([CC8AD89B44D0A93D:4D6C5683338FC901]:0) at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.apache.solr.core.TestDynamicLoading.dynamicLoading(TestDynamicLoading.java:101) at org.apache.solr.core.TestDynamicLoading.doTest(TestDynamicLoading.java:64) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnor
[jira] [Updated] (SOLR-4839) Jetty 9
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar updated SOLR-4839: Attachment: SOLR-4839.patch bq. Jetty logging works but somehow the rootLogger for /solr is always null, I am not sure why Actually the same thing happens on branch_5x and it's fine. The logging works as expected. I traced the test failures to double initialization of SolrDispatchFilter in JettySolrRunner. The root.addServlet also calls filter init for all filter added till that point. This was leading to thread leaks and test failures. I am not sure if this is a bug in jetty but adding SolrDispatchFilter after all other filters and servlets have been added works around this issue. bq. Now I will try to upgrade restlet to 2.3 This patch passes all the schema related tests that were failing earlier. I see HttpPartitionTest fail with this patch. The failure can be reproduced with: {quote} ant test -Dtestcase=HttpPartitionTest -Dtests.method=testDistribSearch -Dtests.seed=B85FF6DC513799E3 -Dtests.slow=true -Dtests.locale=es_GT -Dtests.timezone=Asia/Chungking -Dtests.asserts=true -Dtests.file.encoding=US-ASCII {quote} > Jetty 9 > --- > > Key: SOLR-4839 > URL: https://issues.apache.org/jira/browse/SOLR-4839 > Project: Solr > Issue Type: Improvement >Reporter: Bill Bell >Assignee: Shalin Shekhar Mangar > Fix For: 5.0, Trunk > > Attachments: SOLR-4839.patch, SOLR-4839.patch, SOLR-4839.patch, > SOLR-4839.patch, SOLR-4839.patch > > > Implement Jetty 9 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-6787) API to manage blobs in Solr
[ https://issues.apache.org/jira/browse/SOLR-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255192#comment-14255192 ] Yonik Seeley commented on SOLR-6787: {quote} > That's my entire point... if it's hard to do X, look first into making X > easier We should do that too. But it does not solve the problem {quote} It doesn't have to solve the *whole* top level use case you're thinking of... that's not what I'm talking about at all. I'm talking about API design in general. If X is hard, look to make it easier in a way that benefits more than just the specific "problem" you're trying to solve. {quote} > If it's easier to manage blobs this way It won't be. Why would anyone want to store a blob and all the past versions of it normally? {quote} People have asked to store blobs (binary fields), and people have asked for versioning. bq. I'm trying to dedupe a blob here , is it required normally ? Yes, people have asked for deduping (that's why we have an update processor for it now) bq. I'm trying to ensure that there is always a name for a blob , is it required normally ? Yes, this is why required fields were added to the schema. bq. This is a feature we need The need for the *functionalltiy* of a feature says nothing about what form the API/implementation should take. Anyway, it feels like we're completely talking past each-other or something at this point... it seemed pretty obvious to me that "blob" == "binary field". > API to manage blobs in Solr > > > Key: SOLR-6787 > URL: https://issues.apache.org/jira/browse/SOLR-6787 > Project: Solr > Issue Type: Sub-task >Reporter: Noble Paul >Assignee: Noble Paul > Fix For: 5.0, Trunk > > Attachments: SOLR-6787.patch, SOLR-6787.patch > > > A special collection called .system needs to be created by the user to > store/manage blobs. The schema/solrconfig of that collection need to be > automatically supplied by the system so that there are no errors > APIs need to be created to manage the content of that collection > {code} > #create your .system collection first > http://localhost:8983/solr/admin/collections?action=CREATE&name=.system&replicationFactor=2 > #The config for this collection is automatically created . numShards for this > collection is hardcoded to 1 > #create a new jar or add a new version of a jar > curl -X POST -H 'Content-Type: application/octet-stream' --data-binary > @mycomponent.jar http://localhost:8983/solr/.system/blob/mycomponent > # GET on the end point would give a list of jars and other details > curl http://localhost:8983/solr/.system/blob > # GET on the end point with jar name would give details of various versions > of the available jars > curl http://localhost:8983/solr/.system/blob/mycomponent > # GET on the end point with jar name and version with a wt=filestream to get > the actual file > curl http://localhost:8983/solr/.system/blob/mycomponent/1?wt=filestream > > mycomponent.1.jar > # GET on the end point with jar name and wt=filestream to get the latest > version of the file > curl http://localhost:8983/solr/.system/blob/mycomponent?wt=filestream > > mycomponent.jar > {code} > Please note that the jars are never deleted. a new version is added to the > system everytime a new jar is posted for the name. You must use the standard > delete commands to delete the old entries -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0_20) - Build # 11784 - Still Failing!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11784/ Java: 32bit/jdk1.8.0_20 -client -XX:+UseSerialGC (asserts: true) 1 tests failed. FAILED: org.apache.solr.cloud.DistribDocExpirationUpdateProcessorTest.testDistribSearch Error Message: There are still nodes recoverying - waited for 30 seconds Stack Trace: java.lang.AssertionError: There are still nodes recoverying - waited for 30 seconds at __randomizedtesting.SeedInfo.seed([8EC686856678E9:8168489EF23918D5]:0) at org.junit.Assert.fail(Assert.java:93) at org.apache.solr.cloud.AbstractDistribZkTestBase.waitForRecoveriesToFinish(AbstractDistribZkTestBase.java:178) at org.apache.solr.cloud.AbstractFullDistribZkTestBase.waitForRecoveriesToFinish(AbstractFullDistribZkTestBase.java:840) at org.apache.solr.cloud.AbstractFullDistribZkTestBase.waitForThingsToLevelOut(AbstractFullDistribZkTestBase.java:1459) at org.apache.solr.cloud.DistribDocExpirationUpdateProcessorTest.doTest(DistribDocExpirationUpdateProcessorTest.java:79) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleIgnoreTes
[jira] [Created] (SOLR-6876) Remove unused legacy scripts.conf
Alexandre Rafalovitch created SOLR-6876: --- Summary: Remove unused legacy scripts.conf Key: SOLR-6876 URL: https://issues.apache.org/jira/browse/SOLR-6876 Project: Solr Issue Type: Bug Affects Versions: 4.10.2, 5.0, Trunk Reporter: Alexandre Rafalovitch Priority: Minor Some of the example collections include *scripts.conf* in the *conf* directory. It is not used by anything in the distribution and is somehow left over from the Solr 1.x legacy days. It should be possible to safe delete it to avoid confusing users trying to understand what different files actually do. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5776) Look at speeding up using SSL with tests.
[ https://issues.apache.org/jira/browse/SOLR-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255178#comment-14255178 ] ASF subversion and git services commented on SOLR-5776: --- Commit 1647148 from [~markrmil...@gmail.com] in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1647148 ] SOLR-5776: Use less SSL in a test run. > Look at speeding up using SSL with tests. > - > > Key: SOLR-5776 > URL: https://issues.apache.org/jira/browse/SOLR-5776 > Project: Solr > Issue Type: Test >Reporter: Mark Miller >Assignee: Mark Miller > Fix For: 4.9, Trunk > > Attachments: SOLR-5776.patch, SOLR-5776.patch > > > We have to disable SSL on a bunch of tests now because it appears to sometime > be ridiculously slow - especially in slow envs (I never see timeouts on my > machine). > I was talking to Robert about this, and he mentioned that there might be some > settings we could change to speed it up. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5776) Look at speeding up using SSL with tests.
[ https://issues.apache.org/jira/browse/SOLR-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255177#comment-14255177 ] ASF subversion and git services commented on SOLR-5776: --- Commit 1647147 from [~markrmil...@gmail.com] in branch 'dev/trunk' [ https://svn.apache.org/r1647147 ] SOLR-5776: Use less SSL in a test run. > Look at speeding up using SSL with tests. > - > > Key: SOLR-5776 > URL: https://issues.apache.org/jira/browse/SOLR-5776 > Project: Solr > Issue Type: Test >Reporter: Mark Miller >Assignee: Mark Miller > Fix For: 4.9, Trunk > > Attachments: SOLR-5776.patch, SOLR-5776.patch > > > We have to disable SSL on a bunch of tests now because it appears to sometime > be ridiculously slow - especially in slow envs (I never see timeouts on my > machine). > I was talking to Robert about this, and he mentioned that there might be some > settings we could change to speed it up. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-5.x-Linux (64bit/jdk1.7.0_67) - Build # 11615 - Failure!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11615/ Java: 64bit/jdk1.7.0_67 -XX:+UseCompressedOops -XX:+UseParallelGC (asserts: false) 1 tests failed. FAILED: org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testDistribSearch Error Message: expected:<...032FEACD62A0C-001/te[mpDir-003/solrj_test_core_props_shard1_replica1]> but was:<...032FEACD62A0C-001/te[stPropertyParamsForCreate-001/instanceDir-fyh]> Stack Trace: org.junit.ComparisonFailure: expected:<...032FEACD62A0C-001/te[mpDir-003/solrj_test_core_props_shard1_replica1]> but was:<...032FEACD62A0C-001/te[stPropertyParamsForCreate-001/instanceDir-fyh]> at __randomizedtesting.SeedInfo.seed([534032FEACD62A0C:D2A6BCE6DB894A30]:0) at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.checkInstanceDirs(CollectionsAPIDistributedZkTest.java:1154) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testCollectionsAPI(CollectionsAPIDistributedZkTest.java:901) at org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at o
Re: What's the purpose of scripts.conf in the release?
Scripts.conf was for configuring rsync based replication scripts, in the Solr 1.3 timeframe. It is long since redundant, and should be removed, as far as I can see. Upayavira On Sat, Dec 20, 2014, at 04:18 PM, Alexandre Rafalovitch wrote: > I just found that DIH and techproducts examples ship with scripts.conf > file in the conf directory (4.x, 5 and trunk). > > It does not seem to be used at all anywhere in the packaged version. > > The only mention I seem to find is in the scripts-util in the _source_ > directory where it is used as some sort of defaults. And the > scripts-util seem to be part of something that was superseded in Solr > 1.4 (!) itself. > > Am I missing something or should the scripts.conf file be excluded (or > deleted outright?) from the distribution? > > Regards, >Alex. > > > Sign up for my Solr resources newsletter at http://www.solr-start.com/ > > - > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[JENKINS] Lucene-Solr-5.x-Windows (64bit/jdk1.8.0_20) - Build # 4399 - Still Failing!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/4399/ Java: 64bit/jdk1.8.0_20 -XX:-UseCompressedOops -XX:+UseSerialGC (asserts: true) 1 tests failed. FAILED: org.apache.solr.cloud.ShardRoutingTest.testDistribSearch Error Message: Timeout occured while waiting response from server at: https://127.0.0.1:60966/hu/u/collection1 Stack Trace: org.apache.solr.client.solrj.SolrServerException: Timeout occured while waiting response from server at: https://127.0.0.1:60966/hu/u/collection1 at __randomizedtesting.SeedInfo.seed([A18E447E8611C90E:2068CA66F14EA932]:0) at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:578) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:213) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:209) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) at org.apache.solr.cloud.ShardRoutingTest.doAtomicUpdate(ShardRoutingTest.java:320) at org.apache.solr.cloud.ShardRoutingTest.doTest(ShardRoutingTest.java:124) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54)
[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0_40-ea-b09) - Build # 11783 - Still Failing!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11783/ Java: 32bit/jdk1.8.0_40-ea-b09 -client -XX:+UseSerialGC (asserts: true) 1 tests failed. FAILED: org.apache.solr.core.TestDynamicLoading.testDistribSearch Error Message: { "responseHeader":{ "status":404, "QTime":10}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: Stack Trace: java.lang.AssertionError: { "responseHeader":{ "status":404, "QTime":10}, "error":{ "msg":"no such blob or version available: test/1", "code":404}} expected: but was: at __randomizedtesting.SeedInfo.seed([61151B87BC111CF3:E0F3959FCB4E7CCF]:0) at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.apache.solr.core.TestDynamicLoading.dynamicLoading(TestDynamicLoading.java:101) at org.apache.solr.core.TestDynamicLoading.doTest(TestDynamicLoading.java:64) at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterM
[jira] [Commented] (SOLR-6769) Election bug
[ https://issues.apache.org/jira/browse/SOLR-6769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255146#comment-14255146 ] Alexander S. commented on SOLR-6769: Correct, an endless warming was causing this problem. So this is a bug in Solr, it waits for searchers to end warming, which could take up to 5 minutes in some cases. The node itself goes down and does not accept connections but the ellection does not happen. > Election bug > > > Key: SOLR-6769 > URL: https://issues.apache.org/jira/browse/SOLR-6769 > Project: Solr > Issue Type: Bug >Reporter: Alexander S. > Attachments: Screenshot 876.png > > > Hello, I have a very simple set up: 2 shards and 2 replicas (4 nodes in > total). > What I did is just stopped the shards, but if first shard stopped immediately > the second one took about 5 minutes to stop. You can see on the screenshot > what happened next. In short: > 1. Shard 1 stopped normally > 3. Replica 1 became a leader > 2. Shard 2 still was performing some job but wasn't accepting connection > 4. Replica 2 did not became a leader because Shard 2 is still there but > doesn't work > 5. Entire cluster went down until Shard 2 stopped and Replica 2 became a > leader > Marked as critical because this shuts down the entire cluster. Please adjust > if I am wrong. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-6875) No data integrity between replicas
[ https://issues.apache.org/jira/browse/SOLR-6875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander S. updated SOLR-6875: --- Environment: One replica is @ Linux solr1.devops.wegohealth.com 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Another replica is @ Linux solr2.devops.wegohealth.com 3.16.0-23-generic #30-Ubuntu SMP Thu Oct 16 13:17:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Solr is running with the next options: * -Xms12G * -Xmx16G * -XX:+UseConcMarkSweepGC * -XX:+UseLargePages * -XX:+CMSParallelRemarkEnabled * -XX:+ParallelRefProcEnabled * -XX:+UseLargePages * -XX:+AggressiveOpts * -XX:CMSInitiatingOccupancyFraction=75 Affects Version/s: 4.10.2 > No data integrity between replicas > -- > > Key: SOLR-6875 > URL: https://issues.apache.org/jira/browse/SOLR-6875 > Project: Solr > Issue Type: Bug >Affects Versions: 4.10.2 > Environment: One replica is @ Linux solr1.devops.wegohealth.com > 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 > x86_64 x86_64 GNU/Linux > Another replica is @ Linux solr2.devops.wegohealth.com 3.16.0-23-generic > #30-Ubuntu SMP Thu Oct 16 13:17:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux > Solr is running with the next options: > * -Xms12G > * -Xmx16G > * -XX:+UseConcMarkSweepGC > * -XX:+UseLargePages > * -XX:+CMSParallelRemarkEnabled > * -XX:+ParallelRefProcEnabled > * -XX:+UseLargePages > * -XX:+AggressiveOpts > * -XX:CMSInitiatingOccupancyFraction=75 >Reporter: Alexander S. > > Setup: SolrCloud with 2 shards, each with 2 replicas, 4 nodes in total. > Indexing is stopped, one replica of a shard (Solr1) shows 45 574 039 docs, > and another (Solr1.1) 45 574 038 docs. > Solr1 is the leader, these errors appeared in the logs: > {code} > ERROR - 2014-12-20 09:54:38.783; > org.apache.solr.update.StreamingSolrServers$1; error > java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:196) > at java.net.SocketInputStream.read(SocketInputStream.java:122) > at > org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160) > at > org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) > at > org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273) > at > org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140) > at > org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) > at > org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260) > at > org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283) > at > org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251) > at > org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197) > at > org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271) > at > org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) > at > org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682) > at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486) > at > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) > at > org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:233) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > WARN - 2014-12-20 09:54:38.787; > org.apache.solr.update.processor.DistributedUpdateProcessor; Error sending > update > java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:196) > at java.net.SocketInputStream.read(SocketInputStream.java:122) > at > org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160) > at > org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.j
[jira] [Created] (SOLR-6875) No data integrity between replicas
Alexander S. created SOLR-6875: -- Summary: No data integrity between replicas Key: SOLR-6875 URL: https://issues.apache.org/jira/browse/SOLR-6875 Project: Solr Issue Type: Bug Reporter: Alexander S. Setup: SolrCloud with 2 shards, each with 2 replicas, 4 nodes in total. Indexing is stopped, one replica of a shard (Solr1) shows 45 574 039 docs, and another (Solr1.1) 45 574 038 docs. Solr1 is the leader, these errors appeared in the logs: {code} ERROR - 2014-12-20 09:54:38.783; org.apache.solr.update.StreamingSolrServers$1; error java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160) at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251) at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:233) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) WARN - 2014-12-20 09:54:38.787; org.apache.solr.update.processor.DistributedUpdateProcessor; Error sending update java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160) at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251) at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) a
[jira] [Updated] (SOLR-6666) Dynamic copy fields are considering all dynamic fields, causing a significant performance impact on indexing documents
[ https://issues.apache.org/jira/browse/SOLR-?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elran Dvir updated SOLR-: - Attachment: SOLR-.patch > Dynamic copy fields are considering all dynamic fields, causing a significant > performance impact on indexing documents > -- > > Key: SOLR- > URL: https://issues.apache.org/jira/browse/SOLR- > Project: Solr > Issue Type: Improvement > Components: Schema and Analysis, update > Environment: Linux, Solr 4.8, Schema with 70 fields and more than 500 > specific CopyFields for dynamic fields, but without wildcards (the fields are > dynamic, the copy directive is not) >Reporter: Liram Vardi >Assignee: Erick Erickson > Attachments: SOLR-.patch, SOLR-.patch > > > Result: > After applying a fix for this issue, tests which we conducted show more than > 40 percent improvement on our insertion performance. > Explanation: > Using JVM profiler, we found a CPU "bottleneck" during Solr indexing process. > This bottleneck can be found at org.apache.solr.schema.IndexSchema, in the > following method, "getCopyFieldsList()": > {code:title=getCopyFieldsList() |borderStyle=solid} > final List result = new ArrayList<>(); > for (DynamicCopy dynamicCopy : dynamicCopyFields) { > if (dynamicCopy.matches(sourceField)) { > result.add(new CopyField(getField(sourceField), > dynamicCopy.getTargetField(sourceField), dynamicCopy.maxChars)); > } > } > List fixedCopyFields = copyFieldsMap.get(sourceField); > if (null != fixedCopyFields) { > result.addAll(fixedCopyFields); > } > {code} > This function tries to find for an input source field all its copyFields (All > its destinations which Solr need to move this field). > As you can probably note, the first part of the procedure is the procedure > most “expensive” step (takes O( n ) time while N is the size of the > "dynamicCopyFields" group). > The next part is just a simple "hash" extraction, which takes O(1) time. > Our schema contains over then 500 copyFields but only 70 of then are > "indexed" fields. > We also have one dynamic field with a wildcard ( * ), which "catches" the > rest of the document fields. > As you can conclude, we have more than 400 copyFields that are based on this > dynamicField but all, except one, are fixed (i.e. does not contain any > wildcard). > From some reason, the copyFields registration procedure defines those 400 > fields as "DynamicCopyField " and then store them in the “dynamicCopyFields” > array, > This step makes getCopyFieldsList() very expensive (in CPU terms) without any > justification: All of those 400 copyFields are not glob and therefore do not > need any complex pattern matching to the input field. They all can be store > at the "fixedCopyFields". > Only copyFields with asterisks need this "special" treatment and they are > (especially on our case) pretty rare. > Therefore, we created a patch which fix this problem by changing the > registerCopyField() procedure. > Test which we conducted show that there is no change in the Indexing results. > Moreover, the fix still successfully passes the class unit tests (i.e. > IndexSchemaTest.java). > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-6666) Dynamic copy fields are considering all dynamic fields, causing a significant performance impact on indexing documents
[ https://issues.apache.org/jira/browse/SOLR-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255107#comment-14255107 ] Liram Vardi commented on SOLR-: --- Hi Erick, Thanks you for the comprehensive review for this post. Indeed, my patch causes a loading failure and also to TestFieldCollectionResource to fail, when we are using the “fail_dynamic” example. (TestManagedSotpFilterFactory and TestManagedSynonymFileFactory failed on my environment regardless the patch.) Although, based on the following wiki, I was sure that this example is invalid. https://cwiki.apache.org/confluence/display/solr/Copying+Fields However, based on your explanation I tried to find a combine solution which satisfies those two cases, as you said. The case that I am trying to solve is the case that source is not explicit (which means that does not have a field definition and it is only instantiated by matching a dynamic field – the second case that you described on your response). So, let make things a bit more ordered. Let us assume three possible types for each copyfield, source and destination: 1) Explicit – the field has explicit “field” definition. 2) Glob – The field contains an asterisks on its copyField definition and it matches to one (or more) of the fields definitions (dynamic or static). 3) Reference – the copy field references to some dynamic field, but it is without any asterisks. Each copyfield’s source and destination belongs to one of those types. When Solr reads the schema, it divides the copy fields eventually to two groups: fixedCopyFields and to dynamicCopyFields. As I explained before, the “fixedCopyFields” is much less expensive than the “dynamicCopyFields”. Now, let define the following decision table: |Case||Source||Destination||Decision|| |1|Explicit|Explicit|fixedCopyFields| |2|Explicit|Glob|Error!| |3|Explicit|Reference|dynamicCopyFields| |4|Glob|Explicit|dynamicCopyFields| |5|Glob|Glob|dynamicCopyFields| |6|Glob|Reference|dynamicCopyFields| |*7*|*Reference*|*Explicit*|*fixedCopyFields*| |8|Reference|Glob|dynamicCopyFields| |9|Reference|Reference|dynamicCopyFields| As you can see, until today only for case “1” (source and destination are explicit), Solr put those copy fields on the “static” hash. On the next version of patch SOLR-, I did a refectory on the “if” statement which divides those copyfields. At the previous version of the patch, the code throw exception on case 8 (.i.e fail_dynamic example). Now after the refectory, case “8” is legal again and case “7”, which is the one that I am trying to solve, sends those copyfields to the “fixedCopyFields” map. Another open question is if cases 3 and 9 need also to stay as “DynamicCopyFields” or can we make the update more efficient by moving those also to the “static” map… But currently the patch does not change this. The second version of the patch is attached. Thanks! > Dynamic copy fields are considering all dynamic fields, causing a significant > performance impact on indexing documents > -- > > Key: SOLR- > URL: https://issues.apache.org/jira/browse/SOLR- > Project: Solr > Issue Type: Improvement > Components: Schema and Analysis, update > Environment: Linux, Solr 4.8, Schema with 70 fields and more than 500 > specific CopyFields for dynamic fields, but without wildcards (the fields are > dynamic, the copy directive is not) >Reporter: Liram Vardi >Assignee: Erick Erickson > Attachments: SOLR-.patch > > > Result: > After applying a fix for this issue, tests which we conducted show more than > 40 percent improvement on our insertion performance. > Explanation: > Using JVM profiler, we found a CPU "bottleneck" during Solr indexing process. > This bottleneck can be found at org.apache.solr.schema.IndexSchema, in the > following method, "getCopyFieldsList()": > {code:title=getCopyFieldsList() |borderStyle=solid} > final List result = new ArrayList<>(); > for (DynamicCopy dynamicCopy : dynamicCopyFields) { > if (dynamicCopy.matches(sourceField)) { > result.add(new CopyField(getField(sourceField), > dynamicCopy.getTargetField(sourceField), dynamicCopy.maxChars)); > } > } > List fixedCopyFields = copyFieldsMap.get(sourceField); > if (null != fixedCopyFields) { > result.addAll(fixedCopyFields); > } > {code} > This function tries to find for an input source field all its copyFields (All > its destinations which Solr need to move this field). > As you can probably note, the first part of the procedure is the procedure > most “expensive” step (takes O( n ) time while N is the size of the > "dynamicCopyFields" group). > The next part is
[jira] [Updated] (SOLR-6770) Add/edit param sets and use them in Requests
[ https://issues.apache.org/jira/browse/SOLR-6770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-6770: - Description: Make it possible to define paramsets and use them directly in requests example {code} curl http://localhost:8983/solr/collection1/config/params -H 'Content-type:application/json' -d '{ "create" : {"name" ,"x", "val": { "a":"A val", "b": "B val"} }, "update" : {"name" ,"y", "val": { "x":"X val", "Y": "Y val"} }, "delete" : "z" }' #do a GET to view all the configured params curl http://localhost:8983/solr/collection1/config/params #or GET with a specific name to get only one set of params curl http://localhost:8983/solr/collection1/config/params/x {code} This data will be stored in conf/params.json This is used requesttime and adding/editing params will not result in core reload and it will have no impact on the performance example usage http://localhost/solr/collection/select?useParams=x,y or it can be directly configured with a request handler as follows {code} {code} was: Make it possible to define paramsets and use them directly in requests example {code} curl http://localhost:8983/solr/collection1/config/params -H 'Content-type:application/json' -d '{ "create" : {"name" ,"x", "val": { "a":"A val", "b": "B val"} }, "update" : {"name" ,"y", "val": { "x":"X val", "Y": "Y val"} }, "delete" : "z" }' #do a GET to view all the configured params curl http://localhost:8983/solr/collection1/config/params #or GET with a specific name to get only one set of params curl http://localhost:8983/solr/collection1/config/params/x {code} This data will be stored in conf/paramsets.json This is used requesttime and adding/editing params will not result in core reload and it will have no impact on the performance example usage http://localhost/solr/collection/select?useParams=x,y or it can be directly configured with a request handler as follows {code} {code} > Add/edit param sets and use them in Requests > > > Key: SOLR-6770 > URL: https://issues.apache.org/jira/browse/SOLR-6770 > Project: Solr > Issue Type: Sub-task >Reporter: Noble Paul >Assignee: Noble Paul > > Make it possible to define paramsets and use them directly in requests > example > {code} > curl http://localhost:8983/solr/collection1/config/params -H > 'Content-type:application/json' -d '{ > "create" : {"name" ,"x", > "val": { > "a":"A val", > "b": "B val"} >}, > "update" : {"name" ,"y", > "val": { >"x":"X val", >"Y": "Y val"} >}, > "delete" : "z" > }' > #do a GET to view all the configured params > curl http://localhost:8983/solr/collection1/config/params > #or GET with a specific name to get only one set of params > curl http://localhost:8983/solr/collection1/config/params/x > {code} > This data will be stored in conf/params.json > This is used requesttime and adding/editing params will not result in core > reload and it will have no impact on the performance > example usage http://localhost/solr/collection/select?useParams=x,y > or it can be directly configured with a request handler as follows > {code} > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-6770) Add/edit param sets and use them in Requests
[ https://issues.apache.org/jira/browse/SOLR-6770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-6770: - Description: Make it possible to define paramsets and use them directly in requests example {code} curl http://localhost:8983/solr/collection1/config/params -H 'Content-type:application/json' -d '{ "create" : {"name" ,"x", "val": { "a":"A val", "b": "B val"} }, "update" : {"name" ,"y", "val": { "x":"X val", "Y": "Y val"} }, "delete" : "z" }' #do a GET to view all the configured params curl http://localhost:8983/solr/collection1/config/params #or GET with a specific name to get only one set of params curl http://localhost:8983/solr/collection1/config/params/x {code} This data will be stored in conf/paramsets.json This is used requesttime and adding/editing params will not result in core reload and it will have no impact on the performance example usage http://localhost/solr/collection/select?useParams=x,y or it can be directly configured with a request handler as follows {code} {code} was: Make it possible to define paramsets and use them directly in requests example {code} curl http://localhost:8983/solr/collection1/config/params -H 'Content-type:application/json' -d '{ "create" : {"name" ,"x" "val": { "a":"A val", "b": "B val"} }, "update" : {"name" ,"y" "val": { "x":"X val", "Y": "Y val"} }, "delete" : "z" }' #do a GET to view all the configured params curl http://localhost:8983/solr/collection1/config/params #or GET with a specific name to get only one set of params curl http://localhost:8983/solr/collection1/config/params/x {code} This data will be stored in conf/paramsets.json This is used requesttime and adding/editing params will not result in core reload and it will have no impact on the performance example usage http://localhost/solr/collection/select?useParams=x,y or it can be directly configured with a request handler as follows {code} {code} > Add/edit param sets and use them in Requests > > > Key: SOLR-6770 > URL: https://issues.apache.org/jira/browse/SOLR-6770 > Project: Solr > Issue Type: Sub-task >Reporter: Noble Paul >Assignee: Noble Paul > > Make it possible to define paramsets and use them directly in requests > example > {code} > curl http://localhost:8983/solr/collection1/config/params -H > 'Content-type:application/json' -d '{ > "create" : {"name" ,"x", > "val": { > "a":"A val", > "b": "B val"} >}, > "update" : {"name" ,"y", > "val": { >"x":"X val", >"Y": "Y val"} >}, > "delete" : "z" > }' > #do a GET to view all the configured params > curl http://localhost:8983/solr/collection1/config/params > #or GET with a specific name to get only one set of params > curl http://localhost:8983/solr/collection1/config/params/x > {code} > This data will be stored in conf/paramsets.json > This is used requesttime and adding/editing params will not result in core > reload and it will have no impact on the performance > example usage http://localhost/solr/collection/select?useParams=x,y > or it can be directly configured with a request handler as follows > {code} > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org