lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8855) Add Accountable to some Query implementations
Date Wed, 26 Jun 2019 21:38:00 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-8855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873671#comment-16873671
] 

Hoss Man commented on LUCENE-8855:
----------------------------------

Looks like this broke precommit (on master at least, haven't checked 8x), and is causing some
(reproducible) jenkins test failures in TestRamUsageEstimator on branch_8x (as well as some
master failures that look like hey _might_ be java13 related?)
{noformat}
 [ecj-lint] 90. ERROR in /home/hossman/lucene/dev/lucene/core/src/test/org/apache/lucene/util/TestRamUsageEstimator.java
(at line 37)
 [ecj-lint] 	import org.apache.lucene.search.WildcardQuery;
 [ecj-lint] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 [ecj-lint] The import org.apache.lucene.search.WildcardQuery is never used
{noformat}
[http://fucit.org/solr-jenkins-reports/job-data/thetaphi/Lucene-Solr-8.x-Solaris/201]
{noformat}
hossman@tray:~/lucene/alt_dev/lucene/core [branch_8x] $ ant test  -Dtestcase=TestRamUsageEstimator
 -Dtests.seed=FA882DA7A3887777 -Dtests.slow=true -Dtests.locale=en-GB -Dtests.timezone=Pacific/Chuuk
-Dtests.asserts=true -Dtests.file.encoding=US-ASCII
...
   [junit4] Tests with failures [seed: FA882DA7A3887777]:
   [junit4]   - org.apache.lucene.util.TestRamUsageEstimator.testQuery
   [junit4]   - org.apache.lucene.util.TestRamUsageEstimator.testMap
   [junit4]   - org.apache.lucene.util.TestRamUsageEstimator.testCollection
   [junit4]   - org.apache.lucene.util.TestRamUsageEstimator.testBytesRefHash
{noformat}
[http://fucit.org/solr-jenkins-reports/job-data/thetaphi/Lucene-Solr-master-Linux/24294]
 (java11)
{noformat}
hossman@tray:~/lucene/alt_dev [master] $ java11 && ant clean && cd lucene/core
&& ant test  -Dtestcase=TestRamUsageEstimator -Dtests.seed=E3510006025F6808 -Dtests.multiplier=3
-Dtests.slow=true -Dtests.locale=zgh-MA -Dtests.timezone=America/Rio_Branco -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
...
BUILD SUCCESSFUL
Total time: 39 seconds
{noformat}
(java13)
{noformat}
hossman@tray:~/lucene/alt_dev [master] $ java13 && ant clean && cd lucene/core
&& ant test  -Dtestcase=TestRamUsageEstimator -Dtests.seed=E3510006025F6808 -Dtests.multiplier=3
-Dtests.slow=true -Dtests.locale=zgh-MA -Dtests.timezone=America/Rio_Branco -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
...
   [junit4] Tests with failures [seed: E3510006025F6808]:
   [junit4]   - org.apache.lucene.util.TestRamUsageEstimator.testBytesRefHash
   [junit4] 
   [junit4] 
   [junit4] JVM J0:     0.50 ..     1.71 =     1.22s
   [junit4] Execution time total: 1.76 sec.
   [junit4] Tests summary: 1 suite, 10 tests, 1 failure, 1 ignored (1 assumption)
{noformat}

> Add Accountable to some Query implementations
> ---------------------------------------------
>
>                 Key: LUCENE-8855
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8855
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>             Fix For: 8.1.2
>
>         Attachments: LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch,
LUCENE-8855.patch
>
>
> Query implementations should also support {{Accountable}} API in order to monitor the
memory consumption e.g. in caches where either keys or values are {{Query}} instances.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message