<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384364#M245345</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108903"&gt;@nhassell&lt;/a&gt;&amp;nbsp;, that's resolving the 'cannot locate driver' issue. Now I'm just hitting my head against pesky host/port configuration problems. For the life of me, I cannot get past:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;[S1000][unixODBC][Cloudera][DriverSupport] (1170) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Obviously I'm doing something wrong. But your suggestion solved the issue around the driver library, so thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 14:01:10 GMT</pubDate>
    <dc:creator>ipson</dc:creator>
    <dc:date>2024-02-29T14:01:10Z</dc:date>
    <item>
      <title>Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/376560#M242943</link>
      <description>&lt;P&gt;I'm trying to connect to Impala on a new mac (M2 Chip). I followed all the steps&amp;nbsp;&lt;A href="https://downloads.cloudera.com/connectors/ClouderaImpala_ODBC_2.6.17.1026/Cloudera-ODBC-Connector-for-Impala-Install-Guide.pdf" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;for unixODBC. I confirmed that my unixODBC install is working and that the Cloudera driver installed properly.&lt;/P&gt;&lt;P&gt;When I run `odbcinst -j` I get:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;unixODBC 2.3.12
DRIVERS............: /opt/homebrew/etc/odbcinst.ini
SYSTEM DATA SOURCES: /opt/homebrew/etc/odbc.ini
FILE DATA SOURCES..: /opt/homebrew/etc/ODBCDataSources
USER DATA SOURCES..: /Users/willhipson/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8&lt;/LI-CODE&gt;&lt;P&gt;Here's my odbcinst.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ODBC Drivers]
Cloudera ODBC Driver for Impala=Installed

[Impala]
Description=Cloudera ODBC Driver for Impala
Driver=/opt/cloudera/impalaodbc/lib/universal/libclouderaimpalaodbc.dylib&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And here's the first few lines of my odbc.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ODBC]

[ODBC Data Sources]
Impala=Cloudera ODBC Driver for Impala

[Impala]

Description=Cloudera Impala ODBC Driver DSN

Driver=Impala&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have confirmed that the driver exists in `/opt/cloudera/impalaodbc/lib/universal/libclouderaimpalaodbc.dylib`&lt;/P&gt;&lt;P&gt;When I try to run `isql -v Impala` in the terminal I get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[01000][unixODBC][Driver Manager]Can't open lib '/opt/cloudera/impalaodbc/lib/universal/libclouderaimpalaodbc.dylib' : file not found
[ISQL]ERROR: Could not SQLConnect&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been struggling to resolve this for several days and have scoured SO, blog posts, and this forum for help but nothing seems to work. Hoping to resolve soon.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 12:12:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/376560#M242943</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2023-09-20T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/376624#M242961</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Impala expert&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9634"&gt;@bbreak&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 18:50:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/376624#M242961</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-09-20T18:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/376824#M243018</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;Any insights here? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 21:54:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/376824#M243018</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-09-25T21:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/382667#M244652</link>
      <description>&lt;P&gt;Did this ever get resolved? I am experiencing the same issue and cannot find any solution.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 14:23:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/382667#M244652</guid>
      <dc:creator>nhassell</dc:creator>
      <dc:date>2024-01-24T14:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/383443#M244910</link>
      <description>&lt;P&gt;No I'm still struggling with ODBC.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 13:03:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/383443#M244910</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-02-13T13:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/383545#M244948</link>
      <description>&lt;P&gt;Dang, that is really a shame. I submitted a ticket for this to support will share if they come up with any solution.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 22:08:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/383545#M244948</guid>
      <dc:creator>nhassell</dc:creator>
      <dc:date>2024-02-15T22:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384198#M245264</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;I just figured this out with the help of one of my co-workers. The key for me was to edit the following to the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="plaintext"&gt;/opt/cloudera/impalaodbc/lib/universal/cloudera.impalaodbc.ini&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to add the location of the homebrew odbc lib file, for me, editing it to this worked:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[Driver]

ErrorMessagesPath=/opt/cloudera/impalaodbc/ErrorMessages/
LogLevel=0
LogPath=
ODBCInstLib=/opt/homebrew/lib/libodbcinst.dylib&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:48:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384198#M245264</guid>
      <dc:creator>nhassell</dc:creator>
      <dc:date>2024-02-28T15:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384364#M245345</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108903"&gt;@nhassell&lt;/a&gt;&amp;nbsp;, that's resolving the 'cannot locate driver' issue. Now I'm just hitting my head against pesky host/port configuration problems. For the life of me, I cannot get past:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;[S1000][unixODBC][Cloudera][DriverSupport] (1170) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Obviously I'm doing something wrong. But your suggestion solved the issue around the driver library, so thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 14:01:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384364#M245345</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-02-29T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384369#M245350</link>
      <description>&lt;P&gt;My odbc.ini looks like the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[ODBC Data Sources]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Impala&lt;/SPAN&gt;&lt;SPAN&gt;=Cloudera ODBC Driver for Impala&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;[Impala]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Driver&lt;/SPAN&gt;&lt;SPAN&gt;=/opt/cloudera/impalaodbc/lib/universal/libclouderaimpalaodbc.dylib&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV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R /&gt;Not sure what your settings are but maybe adjusting will help.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Feb 2024 15:21:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/384369#M245350</guid>
      <dc:creator>nhassell</dc:creator>
      <dc:date>2024-02-29T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to connect to Impala via unixODBC on Mac - cannot locate driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/394037#M248651</link>
      <description>&lt;P&gt;I finally had success using HTTP transport. My .odbc.ini looks something like this:&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;[ODBC]&lt;/P&gt;&lt;P&gt;; Specify any global ODBC configuration here such as ODBC tracing.&lt;BR /&gt;[ODBC Data Sources]&lt;BR /&gt;Impala = Cloudera ODBC Driver for Impala&lt;/P&gt;&lt;P&gt;[Impala]&lt;BR /&gt;Driver=/opt/cloudera/impalaodbc/lib/universal/libclouderaimpalaodbc.dylib&lt;BR /&gt;Description=Cloudera Impala ODBC Driver DSN&lt;BR /&gt;Host=[datahub-name]-master0.hiaa-cdp.uvmh-kdle.a4.cloudera.site&lt;BR /&gt;Port=443&lt;BR /&gt;Schema=default&lt;BR /&gt;AuthMech=3&lt;BR /&gt;UseSASL=1&lt;BR /&gt;SSL=1&lt;BR /&gt;TransportMode=http&lt;BR /&gt;httpPath=[datahub-name]/cdp-proxy-api/impala&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 15:02:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failure-to-connect-to-Impala-via-unixODBC-on-Mac-cannot/m-p/394037#M248651</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-09-26T15:02:00Z</dc:date>
    </item>
  </channel>
</rss>

