Implementation:Apache Druid ExecutionErrorPane
| Knowledge Sources | |
|---|---|
| Domains | Web_Console, Query_Workbench |
| Last Updated | 2026-02-10 10:00 GMT |
Overview
ExecutionErrorPane is a React component that displays error details from a failed query execution.
Description
The component renders a BlueprintJS Callout with error icon styling to present execution failure information. It shows the error code (linked to MSQ error documentation), the error message, exception stack trace (viewable in a ShowValueDialog popup), the failed task ID with host information (both as click-to-copy elements), and a link to download the query detail archive for debugging purposes. The component gracefully returns null if no error is present on the execution.
Usage
Used within the ExecutionDetailsPane and inline in the general tab to display error information when a query execution has failed. It is also shown standalone in the execution details error tab.
Code Reference
Source Location
- Repository: Apache Druid
- File: web-console/src/views/workbench-view/execution-error-pane/execution-error-pane.tsx
- Lines: 1-101
Signature
export interface ExecutionErrorPaneProps {
execution: Execution;
}
export const ExecutionErrorPane = React.memo(function ExecutionErrorPane(
props: ExecutionErrorPaneProps,
): JSX.Element | null;
Import
import { ExecutionErrorPane } from 'web-console/src/views/workbench-view/execution-error-pane/execution-error-pane';
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| execution | Execution | Yes | The execution object; its error property is inspected for error details |
Outputs
| Name | Type | Description |
|---|---|---|
| JSX.Element or null | Callout | A BlueprintJS Callout displaying error code, message, stack trace link, task ID, host, and debug archive link; null if no error |
Usage Examples
Rendering execution error details
{execution.error && <ExecutionErrorPane execution={execution} />}