Ballista Executor
The executor process for the Ballista distributed query engine, and the library behind it. Executors register with a scheduler, run the tasks it assigns, write shuffle output to local storage, and serve those partitions over Arrow Flight.
Running
RUST_LOG=info
Each executor binds three ports: Arrow Flight on --bind-port (50051), gRPC on --bind-grpc-port
(50052), and HTTP health on --bind-health-port (50053). Running a second executor on one host
means moving all three.
--vcores sets how many partitions the executor runs at once, defaulting to the host's physical
core count. The memory pool is auto-sized from the detected host or cgroup limit; see the
tuning guide.
Using it as a library
ExecutorProcessConfig carries the same override hooks as the scheduler, so an embedder can supply
its own runtime producer, config producer, or plan codecs. See
examples/examples/custom-executor.rs. new_standalone_executor starts an in-process executor,
which is what the client's standalone mode uses.
Cargo features
| Feature | Default | Description |
|---|---|---|
arrow-ipc-optimizations |
Yes | Arrow IPC fast paths for shuffle read and write |
build-binary |
Yes | Builds the binary, with CLI parsing, logging, and probes |
mimalloc |
Yes | mimalloc allocator, enabled through build-binary |
spark-compat |
No | Registers Spark-compatible functions |