IMPALA-15318: Stop impalads before clearing custom-cluster tmp dirs

_impala_cluster_teardown() cleared the tmp dirs (e.g. the
--lineage_event_log_dir target) while impalads were still running, so
the lineage flush thread aborted the daemon
(abort_on_failed_lineage_event=true) -- an ASAN use-after-free in CI.
Now stop the impalads first: a hard kill for tmp-dir tests, a graceful
shutdown only for workload_mgmt (to flush query-log rows), and skip both
when no cluster was expected to start (so no clients are closed).

Change-Id: I88642ca68db3d3237f97cd1ef095e7c85081c965
Assisted-by: Claude Opus 4.8 (Claude Code)
Reviewed-on: http://gerrit.cloudera.org:8080/24764
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Xuebin Su <xsu@cloudera.com>
Reviewed-by: Peter Rozsa <prozsa@cloudera.com>
1 file changed
tree: 93fc6f17b5d2dd3bb1367fc75b1e387de8088618
  1. .agents/
  2. .devcontainer/
  3. .devcontainer-build/
  4. .vscode-defaults/
  5. be/
  6. bin/
  7. cmake_modules/
  8. common/
  9. docker/
  10. docs/
  11. fe/
  12. helm/
  13. infra/
  14. java/
  15. lib/
  16. operator/
  17. package/
  18. security/
  19. shell/
  20. ssh_keys/
  21. testdata/
  22. tests/
  23. www/
  24. .asf.yaml
  25. .clang-format
  26. .clang-tidy
  27. .gitattributes
  28. .gitignore
  29. .isort.cfg
  30. AGENTS.md
  31. buildall.sh
  32. CMakeLists.txt
  33. EXPORT_CONTROL.md
  34. LICENSE.txt
  35. LOGS.md
  36. NOTICE.txt
  37. README-build.md
  38. README.md
  39. SECURITY.md
  40. setup.cfg
README.md

Welcome to Impala

Lightning-fast, distributed SQL queries for petabytes of data stored in open data and table formats.

Impala is a modern, massively-distributed, massively-parallel, C++ query engine that lets you analyze, transform and combine data from a variety of data sources:

More about Impala

The fastest way to try out Impala is a quickstart Docker container. You can try out running queries and processing data sets in Impala on a single machine without installing dependencies. It can automatically load test data sets into Apache Kudu and Apache Parquet formats and you can start playing around with Apache Impala SQL within minutes.

To learn more about Impala as a user or administrator, or to try Impala, please visit the Impala homepage. Detailed documentation for administrators and users is available at Apache Impala documentation.

If you are interested in contributing to Impala as a developer, or learning more about Impala's internals and architecture, visit the Impala wiki.

Supported Platforms

Impala only supports Linux at the moment. Impala supports x86_64 and arm64 (as of Impala 4.4). Impala Requirements contains more detailed information on the minimum CPU requirements.

Supported OS Distributions

Impala runs on Linux systems only. The supported distros are

  • Ubuntu 20.04/22.04/24.04
  • Rocky/RHEL 8/9/10

Other systems, e.g. SLES15/16, may also be supported but are not tested by the community.

Export Control Notice

This distribution uses cryptographic software and may be subject to export controls. Please refer to EXPORT_CONTROL.md for more information.

Build Instructions

See Impala's developer documentation to get started.

Detailed build notes has some detailed information on the project layout and build.