Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.8.0
-
None
-
None
Description
The external sort operator spills to disk. Spill files are created and written using the HDFS file system. For performance, HDFS uses native libraries to access the file system. These native libraries are not available on the Mac. As a result, some operations are implemented using a shower, Java-only path. One of these operations (need details) is implemented by forking a child process.
When run in a debugger on the Mac, the behavior shows up as the furious creation and deletion of threads to manage the child processes: one per spill. Because of this behavior, performance of external sort is slow. Of course, no production code uses Drill on a Mac, so this is more of a nuisance than a real bug, which is why it is marked as an improvement.
Attachments
Issue Links
- Is contained by
-
DRILL-5325 Implement sub-operator unit tests for managed external sort
- Resolved