druid/extensions-contrib
Gian Merlino 4631cff2a9
Free ByteBuffers in tests and fix some bugs. (#12521)
* Ensure ByteBuffers allocated in tests get freed.

Many tests had problems where a direct ByteBuffer would be allocated
and then not freed. This is bad because it causes flaky tests.

To fix this:

1) Add ByteBufferUtils.allocateDirect(size), which returns a ResourceHolder.
   This makes it easy to free the direct buffer. Currently, it's only used
   in tests, because production code seems OK.

2) Update all usages of ByteBuffer.allocateDirect (off-heap) in tests either
   to ByteBuffer.allocate (on-heap, which are garbaged collected), or to
   ByteBufferUtils.allocateDirect (wherever it seemed like there was a good
   reason for the buffer to be off-heap). Make sure to close all direct
   holders when done.

* Changes based on CI results.

* A different approach.

* Roll back BitmapOperationTest stuff.

* Try additional surefire memory.

* Revert "Roll back BitmapOperationTest stuff."

This reverts commit 49f846d9e3.

* Add TestBufferPool.

* Revert Xmx change in tests.

* Better behaved NestedQueryPushDownTest. Exit tests on OOME.

* Fix TestBufferPool.

* Remove T1C from ARM tests.

* Somewhat safer.

* Fix tests.

* Fix style stuff.

* Additional debugging.

* Reset null / expr configs better.

* ExpressionLambdaAggregatorFactory thread-safety.

* Alter forkNode to try to get better info when a JVM crashes.

* Fix buffer retention in ExpressionLambdaAggregatorFactory.

* Remove unused import.
2022-05-19 07:42:29 -07:00
..
aliyun-oss-extensions Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
ambari-metrics-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
cassandra-storage Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
cloudfiles-extensions Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
distinctcount Free ByteBuffers in tests and fix some bugs. (#12521) 2022-05-19 07:42:29 -07:00
dropwizard-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
gce-extensions Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
graphite-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
influx-extensions Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
influxdb-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
kafka-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
materialized-view-maintenance Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
materialized-view-selection Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
momentsketch Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
moving-average-query Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
opentelemetry-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
opentsdb-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
prometheus-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
redis-cache Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
sqlserver-metadata-storage Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
statsd-emitter Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
tdigestsketch Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
thrift-extensions Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
time-min-max Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
virtual-columns Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30
README.md fix broken links (#9537) 2020-03-22 17:41:18 -07:00

README.md

Community Extensions

Please contribute all community extensions in this directory and include a doc of how your extension can be used under docs/development/extensions-contrib/.

Please note that community extensions are maintained by their original contributors and are not packaged with the core Druid distribution. If you'd like to take on maintenance for a community extension, please post on dev@druid.apache.org to let us know!