diff options
author | Jacques Nadeau <jacques@apache.org> | 2015-11-15 17:26:02 -0800 |
---|---|---|
committer | Jacques Nadeau <jacques@apache.org> | 2015-12-21 23:52:32 -0800 |
commit | 809f4620d7d82c72240212de13b993049550959d (patch) | |
tree | a23a72773d84298c69af3a2e430422633c191b0d /distribution | |
parent | 53dcabeb83f53c8e29aff9c9282eaaa20a8b27ee (diff) |
DRILL-4134: Allocator Improvements
- make Allocator mostly lockless
- change BaseAllocator maps to direct references
- add documentation around memory management model
- move transfer and ownership methods to DrillBuf
- Improve debug messaging.
- Fix/revert sort changes
- Remove unused fragment limit flag
- Add time to HistoricalLog events
- Remove reservation amount from RootAllocator constructor (since not allowed)
- Fix concurrency issue where allocator is closing at same moment as incoming batch transfer, causing leaked memory and/or query failure.
- Add new AutoCloseables.close(Iterable<AutoCloseable>)
- Remove extraneous DataResponseHandler and Impl (and update TestBitRpc to use smarter mock of FragmentManager)
- Remove the concept of poison pill record batches, using instead FragmentContext.isOverMemoryLimit()
- Update incoming data batches so that they are transferred under protection of a close lock
- Improve field names in IncomingBuffers and move synchronization to collectors as opposed to IncomingBuffers (also change decrementing to decrementToZero rather than two part check).
This closes #238.
Diffstat (limited to 'distribution')
-rw-r--r-- | distribution/pom.xml | 5 | ||||
-rw-r--r-- | distribution/src/assemble/bin.xml | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/distribution/pom.xml b/distribution/pom.xml index f8aced5e3..5aaf09d4b 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -45,11 +45,6 @@ <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.drill.memory</groupId> - <artifactId>drill-memory-impl</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> <groupId>org.apache.drill.exec</groupId> <artifactId>drill-rpc</artifactId> <version>${project.version}</version> diff --git a/distribution/src/assemble/bin.xml b/distribution/src/assemble/bin.xml index f8ada9bcb..449ac6c29 100644 --- a/distribution/src/assemble/bin.xml +++ b/distribution/src/assemble/bin.xml @@ -89,7 +89,6 @@ <include>org.apache.drill:drill-logical:jar</include> <include>org.apache.drill.exec:vector:jar</include> <include>org.apache.drill.memory:drill-memory-base:jar</include> - <include>org.apache.drill.memory:drill-memory-impl:jar</include> <include>org.apache.drill.exec:drill-rpc:jar</include> <include>org.apache.drill.exec:drill-java-exec:jar</include> <include>org.apache.drill.contrib.storage-hive:drill-storage-hive-core</include> |