<?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: Databricks-connect invalid shard address in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29776#M21483</link>
    <description>&lt;P&gt;It helped, THANK YOU @Justin Allred​&amp;nbsp;!. Our problems started about the same time as you posted the above. Would not have easily guessed the solution otherwise.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 13:57:05 GMT</pubDate>
    <dc:creator>laportina</dc:creator>
    <dc:date>2022-06-23T13:57:05Z</dc:date>
    <item>
      <title>Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29762#M21469</link>
      <description>&lt;P&gt;I want to use databricks inside vscode and I therefore need &lt;A href="https://docs.databricks.com/dev-tools/databricks-connect.html?&amp;amp;_ga=2.185406880.885350929.1643876592-1744259739.1635161314#step-2-configure-connection-properties" alt="https://docs.databricks.com/dev-tools/databricks-connect.html?&amp;amp;_ga=2.185406880.885350929.1643876592-1744259739.1635161314#step-2-configure-connection-properties" target="_blank"&gt;Databricks-connect &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configure my settings using &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;databricks-connect configure&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databricks Host [&lt;A href="https://adb-1409757184094616.16.azuredatabricks.net" alt="https://adb-1409757184094616.16.azuredatabricks.net" target="_blank"&gt;https://adb-1409757184094616.16.azuredatabricks.net&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;Databricks Token [&amp;lt;my token&amp;gt;]&lt;/P&gt;&lt;P&gt;Cluster ID [1220-124223-ku6xm034]&lt;/P&gt;&lt;P&gt;Org ID [&amp;lt;my organization&amp;gt;]&lt;/P&gt;&lt;P&gt;Port [5001]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;following @Kaniz Fatma​&amp;nbsp;and @Arjun Kaimaparambil Rajan​&amp;nbsp;comments here is some other information that might be relevant: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;databricks runtime version (cluster): 9.1 LTS ML &lt;/LI&gt;&lt;LI&gt;python version in conda (base) environment: 3.8.10 &lt;/LI&gt;&lt;LI&gt;&lt;A href="https://matthewdavis111.com/java/poke-ssl-test-java-certs/" alt="https://matthewdavis111.com/java/poke-ssl-test-java-certs/" target="_blank"&gt;Check certificate issues&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are my Spark config settings of the cluster I want to run in vscode&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.databricks.cluster.profile serverless
spark.databricks.service.port 8787
spark.sql.legacy.allowNonEmptyLocationInCTAS = true
spark.databricks.service.server.enabled true
spark.databricks.repl.allowedLanguages sql,python,r&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;when I run &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;databricks-connect test&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; in my prompt I get the following error: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ERROR SparkClientManager: Fail to get the SparkClient
&amp;nbsp;
java.util.concurrent.ExecutionException: com.databricks.service.SparkServiceConnectionException: Invalid shard address: "https://adb-1409757184094616.16.azuredatabricks.net/"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The stacktrace is attached to this question. &lt;/P&gt;&lt;P&gt;I tried to change my shard address to &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Databricks Host [&lt;A href="https://northeurope.azuredatabricks.net" alt="https://northeurope.azuredatabricks.net" target="_blank"&gt;https://northeurope.azuredatabricks.net&lt;/A&gt;]&lt;/LI&gt;&lt;LI&gt;Databricks Host [&lt;A href="https://westeurope.azuredatabricks.net" alt="https://westeurope.azuredatabricks.net" target="_blank"&gt;https://westeurope.azuredatabricks.net&lt;/A&gt;]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I discussed this with my data engineer at the company and he told me that it could be an issue with &lt;A href="https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-overview" alt="https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-overview" target="_blank"&gt;the  private endpoints&lt;/A&gt;  that they installed last year. This might be blocking the connection with my remote  pc. Anyone any ideas? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 09:55:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29762#M21469</guid>
      <dc:creator>korilium</dc:creator>
      <dc:date>2022-02-03T09:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29764#M21471</link>
      <description>&lt;P&gt;what I have configured is the following: &lt;/P&gt;&lt;P&gt;cluster is 9.1 LTS ML and my python version is 3.8.10 in the base conda environment &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did had the server enabled but did not set the port to 8787 in the cluster settings. &lt;/P&gt;&lt;P&gt;I tried setting the port of the cluster to 8787 while keeping the server enabled but it was no good. Still got the same error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know if I have a 7 layer firewall. Is there a way to see it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 12:40:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29764#M21471</guid>
      <dc:creator>korilium</dc:creator>
      <dc:date>2022-02-03T12:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29766#M21473</link>
      <description>&lt;P&gt;Hi @Arjun Kaimaparambil Rajan​&amp;nbsp;, you can find the stacktrace in the attechment of the question. By REST API you mean if I can connect to the databricks workspace via the webbrowser ?  (which I can)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully you can help me with this extra information. already many thanks for the support. &lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 14:04:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29766#M21473</guid>
      <dc:creator>korilium</dc:creator>
      <dc:date>2022-02-09T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29767#M21474</link>
      <description>&lt;P&gt;@ignace decocq​&amp;nbsp;- I noticed that you edited your original post. I'm not a technical person, so I can't tell. Did your change make the original answers not make sense anymore? If they did, I can add the information back in there. I promise I won't disrupt the current edit. Just let me know. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 15:44:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29767#M21474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-09T15:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29768#M21475</link>
      <description>&lt;P&gt;Hey @Piper Wilson​&amp;nbsp; yes, I indeed edited my post. I did that to make the question more wholesome:  If your question is answered with a question, then your initial question was not clear enough.  That is why I edited the post.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know what you want to add but if it makes the conversation more clear, go ahead. &lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 16:32:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29768#M21475</guid>
      <dc:creator>korilium</dc:creator>
      <dc:date>2022-02-09T16:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29770#M21477</link>
      <description>&lt;P&gt;@Arjun Kaimaparambil Rajan​&amp;nbsp;I followed the link you send me and when I run : &lt;/P&gt;&lt;P&gt;I get the following exception: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
        at sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.ensureNegotiated(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.access$200(Unknown Source)
        at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(Unknown Source)
        at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(Unknown Source)
        at SSLPoke.main(SSLPoke.java:23)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
        at sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
        at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
        at sun.security.ssl.SSLTransport.decode(Unknown Source)
        ... 8 more&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried solving this exception following &lt;A href="https://www.youtube.com/watch?v=c6--1GlM6sI" alt="https://www.youtube.com/watch?v=c6--1GlM6sI" target="_blank"&gt;this video&lt;/A&gt; but to no avail. I am really feeling that I am shooting in the dark for the moment. Hopefully you can help me with that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 13:59:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29770#M21477</guid>
      <dc:creator>korilium</dc:creator>
      <dc:date>2022-02-14T13:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29773#M21480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@ignace decocq​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000tvpbAAA" alt="https://community.databricks.com/s/profile/0053f000000tvpbAAA" target="_blank"&gt;@Kaniz Fatma&lt;/A&gt;​&amp;nbsp;response help you to resolved your question? if yes, please mark it as best response. If not, please let us know and we will continue helping you to find a solution. &lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 00:10:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29773#M21480</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-03-15T00:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29774#M21481</link>
      <description>&lt;P&gt;Hey everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reinstalled everything just like on the website in data thirst. &lt;/P&gt;&lt;P&gt;When I reinstalled it,  I got a message that the firewall was blocking certain features of java 8. &lt;/P&gt;&lt;P&gt;As this is a company's pc I could not  alter the settings of the firewall. however I went to the IT department and they disabled the company policy protection of my pc. This is basically a Software called Cloudfare. Once this was disabled everything worked fine. &lt;/P&gt;&lt;P&gt;I probably should solve this now within the company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 14:54:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29774#M21481</guid>
      <dc:creator>korilium</dc:creator>
      <dc:date>2022-03-29T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29775#M21482</link>
      <description>&lt;P&gt;In case it helps anyone, I ran into this issue and had to remove the trailing / from the host name. It used to work fine with the trailing / so something must have changed.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 17:06:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29775#M21482</guid>
      <dc:creator>Justin09</dc:creator>
      <dc:date>2022-06-17T17:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect invalid shard address</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29776#M21483</link>
      <description>&lt;P&gt;It helped, THANK YOU @Justin Allred​&amp;nbsp;!. Our problems started about the same time as you posted the above. Would not have easily guessed the solution otherwise.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 13:57:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-invalid-shard-address/m-p/29776#M21483</guid>
      <dc:creator>laportina</dc:creator>
      <dc:date>2022-06-23T13:57:05Z</dc:date>
    </item>
  </channel>
</rss>

