<?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>topic Re: [Simba][SparkJDBCDriver](500177) Error getting http path from connection string in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23356#M16104</link>
    <description>&lt;P&gt;I found my issue.   I was missing the httpPath in the URL.   That fixed it. &lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 22:30:05 GMT</pubDate>
    <dc:creator>ClaudeR</dc:creator>
    <dc:date>2022-04-07T22:30:05Z</dc:date>
    <item>
      <title>[Simba][SparkJDBCDriver](500177) Error getting http path from connection string</title>
      <link>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23355#M16103</link>
      <description>&lt;P&gt;I'm trying to use a very basic java program to connect to Databricks using spark jdbc driver (SparkJDBC42.jar), but I get the error (mentioned above): &lt;/P&gt;&lt;P&gt;[Simba][SparkJDBCDriver](500177) Error getting http path from connection string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code snippet: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import java.sql.*;
class JDBCTest
{
    public static void main(String args[]) throws SQLException
    {
        Connection con = null;
        try
        {
            Class.forName("com.simba.spark.jdbc.Driver");
            String dbURL = "jdbc:spark://dbc-29cb99e0-2b6f.cloud.databricks.com:443/default;transportMode=http;ssl=1;AuthMech=3";
            System.out.println("jdbcurl=" + dbURL);
            String strUserID = "User1@mail.com";
            String strPassword = "Password#1";
            con=DriverManager.getConnection(dbURL,strUserID,strPassword);
            System.out.println("Connected to the database.");
            Statement stmt=con.createStatement();
            System.out.println("Executing query");
            ResultSet rs=stmt.executeQuery("SELECT * FROM default.table1");
            while(rs.next())
                System.out.println("1");
            con.close();
        }catch(Exception e){ System.out.println(e);}
        finally
        {
            con.close();
        }
    }
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Running command: java -cp SparkJDBC42.jar:. JDBCTest "test"&lt;/P&gt;&lt;P&gt;I'm using the jdbc url provided for my connection endpoint.    &lt;/P&gt;&lt;P&gt;This same code works for other databases.   &lt;/P&gt;&lt;P&gt;It seems to be with the Spark driver that doesn't allow me to even reach the point at which I attempt to connect. &lt;/P&gt;&lt;P&gt;Your help is appreciated.  Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 16:05:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23355#M16103</guid>
      <dc:creator>ClaudeR</dc:creator>
      <dc:date>2022-04-07T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: [Simba][SparkJDBCDriver](500177) Error getting http path from connection string</title>
      <link>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23356#M16104</link>
      <description>&lt;P&gt;I found my issue.   I was missing the httpPath in the URL.   That fixed it. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 22:30:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23356#M16104</guid>
      <dc:creator>ClaudeR</dc:creator>
      <dc:date>2022-04-07T22:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: [Simba][SparkJDBCDriver](500177) Error getting http path from connection string</title>
      <link>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23357#M16105</link>
      <description>&lt;P&gt;Hello @Claude Repono​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in the community. It seems you were able to find the solution by yourself. That's awesome. We are going to go ahead and mark your answer as the best solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 16:55:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/23357#M16105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T16:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: [Simba][SparkJDBCDriver](500177) Error getting http path from connection string</title>
      <link>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/109217#M43244</link>
      <description>&lt;P&gt;I am getting the same error, can you explain what you mean httpPath was missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 14:35:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/simba-sparkjdbcdriver-500177-error-getting-http-path-from/m-p/109217#M43244</guid>
      <dc:creator>Lawro</dc:creator>
      <dc:date>2025-02-06T14:35:16Z</dc:date>
    </item>
  </channel>
</rss>

