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