โ12-05-2023 08:05 AM
I am trying to run a TRUNCATE command on my exasol DWH from Databricks using the pyexasol. This works perfectly fine when I have the cluster access mode as "No Isolation Shared" which does not have access to our Unity Catalog. When I change the cluster access mode to "Shared" and now has access to Unity Catalog, the cluster fails to connect to Exasol DWH with the following error message:
"Could not connect to Exasol: [Errno 111] Connection refused"
Any ideas how to solve this?
โ12-05-2023 02:28 PM
Interesting. Did you try with "Single User" mode, which also has UC support?
โ12-06-2023 01:06 AM
@SSundaram "Single user" access mode works when connecting using pyexasol, but this cluster is being accessed by our whole Data Engineering team and would not really be a viable solution.
โ12-06-2023 07:49 AM
Understood. So UC is not the problem, but the access mode is what causing this issue. There are few limitations with shared access mode on UC. I am guessing it might be the credentials passthrough, not sure.
โ12-05-2023 11:47 PM - edited โ12-05-2023 11:47 PM
Hi @Gembo, When connecting to Exasol using pyexasol, encountering a โConnection refusedโ error can be frustrating.
Letโs troubleshoot this issue step by step:
โ12-06-2023 01:08 AM - edited โ12-06-2023 01:09 AM
It is not a problem of connectivity/firewall as I am able to connect using pyexasol when setting the access mode to different values on Databricks Cluster. Our Exasol and Databricks are not trial modes as these are our main DWH/Data Lakehouse for our data.
โ01-21-2024 11:26 PM
Thank you for posting your question in our community! We are happy to assist you.
To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?
This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group