Apache Druid: a high performance real-time analytics database.
Go to file
Kashif Faraz 6e158704cb
Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271)
Changes
- Add a `DruidException` which contains a user-facing error message, HTTP response code
- Make `EntryExistsException` extend `DruidException`
- If metadata store max_allowed_packet limit is violated while inserting a new task, throw
`DruidException` with response code 400 (bad request) to prevent retries
- Add `SQLMetadataConnector.isRootCausePacketTooBigException` with impl for MySQL
2023-06-10 12:15:44 +05:30
.github Fix flaky Revised ITs failures on GHA runners (#14348) 2023-06-05 18:58:54 +05:30
.idea Ignore misc.xml (#14362) 2023-06-02 12:00:52 +05:30
benchmarks Add `TYPE_NAME` to the complex serde classes and replace the hardcoded names. (#14317) 2023-05-23 00:54:47 -05:00
cloud Make GCP initialization truly lazy (#14077) 2023-04-12 23:10:50 -07:00
codestyle Removing the forbidden check on getOrDefault due to java8 incompatibility. (#13920) 2023-03-11 09:49:32 +05:30
dev Document our conventions for writing messages (#13916) 2023-04-03 21:30:20 -07:00
distribution streamline release process docs (#14268) 2023-05-17 13:57:37 -07:00
docs Fixup typo and java code snippets in JDBC docs. (#14399) 2023-06-09 12:39:21 -07:00
examples fixes dataSourceName varaible ref (#14340) 2023-05-30 13:15:27 -07:00
extensions-contrib Fix `EARLIEST_BY`/`LATEST_BY` signature and include function name in signature. (#14352) 2023-06-06 09:41:05 -07:00
extensions-core Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271) 2023-06-10 12:15:44 +05:30
helm/druid helm: Add serviceAccounts, rbac, and small fixes (#13747) 2023-02-23 11:42:03 +05:30
hooks Git hooks should fail on errors; pass args to git hooks (#12322) 2022-03-10 09:07:50 +09:00
indexing-hadoop fix bugs with auto encoded long vector deserializers (#14186) 2023-05-01 11:49:27 +05:30
indexing-service Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271) 2023-06-10 12:15:44 +05:30
integration-tests increase middlemanager heap server size in tests (#14345) 2023-05-29 10:45:34 +05:30
integration-tests-ex Fix flaky Revised ITs failures on GHA runners (#14348) 2023-06-05 18:58:54 +05:30
licenses Upgrades the React dependency to v18 (#14380) 2023-06-09 12:09:13 -07:00
processing Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271) 2023-06-10 12:15:44 +05:30
publications De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
server Do not retry INSERT task into metadata if max_allowed_packet limit is violated (#14271) 2023-06-10 12:15:44 +05:30
services Reduce the spam in broker logs (#14368) 2023-06-05 18:56:34 +05:30
sql Fix `EARLIEST_BY`/`LATEST_BY` signature and include function name in signature. (#14352) 2023-06-06 09:41:05 -07:00
web-console Upgrades the React dependency to v18 (#14380) 2023-06-09 12:09:13 -07:00
website docs: add basic contributor guide for docs (#14365) 2023-06-05 10:53:17 -07:00
.asf.yaml Add .asf.yaml. (#9083) 2019-12-20 16:45:38 -08:00
.backportrc.json Add 0.18.0 to .backportrc.json to facilitate backport. (#9661) 2020-04-11 13:49:04 -07:00
.codecov.yml Use Codecov (#8388) 2019-08-28 08:49:30 -07:00
.dockerignore Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
.gitignore Docs: Tutorial for streaming ingestion using Kafka + Docker file to use with Jupyter tutorials (#13984) 2023-05-15 15:20:52 -07:00
.lgtm.yml be consistent about referring to the web console by its name (#13118) 2022-09-19 15:02:17 -07:00
CONTRIBUTING.md Document our conventions for writing messages (#13916) 2023-04-03 21:30:20 -07:00
LABELS Fixing security vulnerability check errors (#13956) 2023-03-23 11:10:06 +05:30
LICENSE merge druid-core, extendedset, and druid-hll into druid-processing to simplify everything (#13698) 2023-02-17 14:27:41 -08:00
NOTICE update NOTICE year, update kafka notice in licenses.yaml (#14299) 2023-05-17 04:32:19 -07:00
README.md Add workflow links to README to jump into detailed pages (#14383) 2023-06-09 08:31:50 +05:30
README.template De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
check_test_suite.py Update Hadoop3 as default build version (#14005) 2023-04-26 12:52:51 +05:30
check_test_suite_test.py remove Travis CI (#13789) 2023-02-10 01:46:56 -08:00
it.sh Extend the IT framework to allow tests in extensions (#13877) 2023-05-15 20:29:51 +05:30
licenses.yaml Upgrades the React dependency to v18 (#14380) 2023-06-09 12:09:13 -07:00
owasp-dependency-check-suppressions.xml suppress CVE-2021-40331 since it applies to ranger-hive-plugin which afaict we do not use (#14261) 2023-05-11 21:58:47 -07:00
pom.xml use the latest datasketches-java-4.0.0 (#14334) 2023-05-27 22:19:18 -07:00
upload.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00

README.md

Coverage Status Docker Helm

Workflow Status
⚙️ CodeQL Config codeql-config
🔍 CodeQL codeql
🕒 Cron Job ITS cron-job-its
🏷️ Labeler labeler
♻️ Reusable Revised ITS reusable-revised-its
♻️ Reusable Standard ITS reusable-standard-its
♻️ Reusable Unit Tests reusable-unit-tests
🔄 Revised ITS revised-its
🔧 Standard ITS standard-its
🛠️ Static Checks static-checks
🧪 Unit and Integration Tests Unified unit-and-integration-tests-unified
🔬 Unit Tests unit-tests

Website Twitter Download Get Started Documentation Community Build Contribute License


Apache Druid

Druid is a high performance real-time analytics database. Druid's main value add is to reduce time to insight and action.

Druid is designed for workflows where fast queries and ingest really matter. Druid excels at powering UIs, running operational (ad-hoc) queries, or handling high concurrency. Consider Druid as an open source alternative to data warehouses for a variety of use cases. The design documentation explains the key concepts.

Getting started

You can get started with Druid with our local or Docker quickstart.

Druid provides a rich set of APIs (via HTTP and JDBC) for loading, managing, and querying your data. You can also interact with Druid via the built-in web console (shown below).

Load data

data loader Kafka

Load streaming and batch data using a point-and-click wizard to guide you through ingestion setup. Monitor one off tasks and ingestion supervisors.

Manage the cluster

management

Manage your cluster with ease. Get a view of your datasources, segments, ingestion tasks, and services from one convenient location. All powered by SQL systems tables, allowing you to see the underlying query for each view.

Issue queries

query view combo

Use the built-in query workbench to prototype DruidSQL and native queries or connect one of the many tools that help you make the most out of Druid.

Documentation

See the latest documentation for the documentation for the current official release. If you need information on a previous release, you can browse previous releases documentation.

Make documentation and tutorials updates in /docs using MarkDown and contribute them using a pull request.

Community

Visit the official project community page to read about getting involved in contributing to Apache Druid, and how we help one another use and operate Druid.

  • Druid users can find help in the druid-user mailing list on Google Groups, and have more technical conversations in #troubleshooting on Slack.
  • Druid development discussions take place in the druid-dev mailing list (dev@druid.apache.org). Subscribe by emailing dev-subscribe@druid.apache.org. For live conversations, join the #dev channel on Slack.

Check out the official community page for details of how to join the community Slack channels.

Find articles written by community members and a calendar of upcoming events on the project site - contribute your own events and articles by submitting a PR in the apache/druid-website-src repository.

Building from source

Please note that JDK 8 or JDK 11 is required to build Druid.

See the latest build guide for instructions on building Apache Druid from source.

Contributing

Please follow the community guidelines for contributing.

For instructions on setting up IntelliJ dev/intellij-setup.md

License

Apache License, Version 2.0