Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7224

HashQParserPlugin test failures due to java.util.concurrent.RejectedExecutionException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      Initial commit of the HashQParserPlugin is causing the following test errors:

      Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2045/
      Java: 64bit/jdk1.8.0 -XX:-UseCompressedOops -XX:+UseSerialGC

      1 tests failed.
      FAILED: org.apache.solr.search.TestHashQParserPlugin.testHashPartition

      Error Message:
      java.util.concurrent.RejectedExecutionException: Task org.apache.solr.search.HashQParserPlugin$HashQuery$SegmentPartitioner@4a0a82b6 rejected from java.util.concurrent.ThreadPoolExecutor@aad7186[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]

      Stack Trace:
      java.io.IOException: java.util.concurrent.RejectedExecutionException: Task org.apache.solr.search.HashQParserPlugin$HashQuery$SegmentPartitioner@4a0a82b6 rejected from java.util.concurrent.ThreadPoolExecutor@aad7186[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
      at __randomizedtesting.SeedInfo.seed([B0C766A25E8A6825:617A474765E0D14E]:0)
      at org.apache.solr.search.HashQParserPlugin$HashQuery.createWeight(HashQParserPlugin.java:168)
      at org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:623)
      at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:606)
      at org.apache.solr.search.SolrIndexSearcher.getProcessedFilter(SolrIndexSearcher.java:1123)
      at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1605)
      at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1481)
      at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:557)
      at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:512)
      at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:226)
      at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:142)
      at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)
      at org.apache.solr.util.TestHarness.query(TestHarness.java:320)
      at org.apache.solr.util.TestHarness.query(TestHarness.java:302)
      at org.apache.solr.search.TestHashQParserPlugin.testHashPartition(TestHashQParserPlugin.java:94)
      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:1627)
      at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
      at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
      at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
      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 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:845)
      at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
      at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
      at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
      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 com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
      at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
      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)
      Caused by: java.util.concurrent.RejectedExecutionException: Task org.apache.solr.search.HashQParserPlugin$HashQuery$SegmentPartitioner@4a0a82b6 rejected from java.util.concurrent.ThreadPoolExecutor@aad7186[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
      at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
      at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
      at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
      at org.apache.solr.search.HashQParserPlugin$HashQuery.createWeight(HashQParserPlugin.java:166)
      ... 52 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joel.bernstein Joel Bernstein
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: