dosubot[bot] commented on issue #31635:
URL: https://github.com/apache/superset/issues/31635#issuecomment-2563954343
<!-- Greeting -->
Hey @isiuni01! 👋 I'm here to help you with any bugs, questions, or
contributions. Let's tackle this issue together!
<!-- Answer -->
To resolve the connection issue between Apache Superset and Apache Druid,
ensure the following steps are completed:
1. **Install `pydruid`**: Make sure `pydruid` is installed in your Superset
Docker container. You can add it to a `requirements-local.txt` file in the
`docker` directory and rebuild your Docker image:
```bash
echo "pydruid" >> ./docker/requirements-local.txt
docker compose build --force-rm
docker compose up
```
2. **Connection String**: Use the correct connection string format for Druid:
```
druid://<User>:<password>@<Host>:<Port-default-9088>/druid/v2/sql
```
Replace `<User>`, `<password>`, `<Host>`, and `<Port>` with your Druid
instance's credentials and connection details
<sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/configuration/databases.mdx)</sup>.
3. **Network Configuration**: Ensure that the network settings allow
communication between the Superset and Druid containers. This might involve
setting up a Docker network that both containers are part of.
4. **Troubleshooting**: Check for common issues such as hostname resolution,
port availability, and correct credentials. Verify that the Druid instance is
running and accessible from the Superset container
<sup>[[2]](https://github.com/apache/superset/blob/master/docs/docs/using-superset/issue-codes.mdx)</sup>.
By following these steps, you should be able to establish a connection
between Superset and Druid.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great
Response](https://app.dosu.dev/response-feedback/0880fd38-f27f-454f-8ef0-e76dfce153e1?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/0880fd38-f27f-454f-8ef0-e76dfce153e1?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/0880fd38-f27f-454f-8ef0-e76dfce153e1?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/0880fd38-f27f-454f-8ef0-e76dfce153e1?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/0880fd38-f27f-454f-8ef0-e76dfce153e1?feedback_type=hallucination)
|
[Other](https://app.dosu.dev/response-feedback/0880fd38-f27f-454f-8ef0-e76dfce153e1?feedback_type=other)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]