<?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: In Shared cluster with unity catalog Python process can't connect in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58976#M823</link>
    <description>&lt;P&gt;The init.sh can't be tested&lt;BR /&gt;&lt;SPAN&gt;INVALID_PARAMETER_VALUE: Attempting to install the following init scripts that are not in the allowlist. /Volumes/main/default/datalake/libs/init.sh: PERMISSION_DENIED: '/Volumes/main/default/datalake/libs/init.sh' is not in the artifact allowlist&lt;/SPAN&gt;&lt;BR /&gt;I'll back as soon as possibile.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 11:32:10 GMT</pubDate>
    <dc:creator>6502</dc:creator>
    <dc:date>2024-02-01T11:32:10Z</dc:date>
    <item>
      <title>In Shared cluster with unity catalog Python process can't connect</title>
      <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58841#M794</link>
      <description>&lt;P&gt;The story is that I can access a service listening on port 80 using a single node cluster, but can't do the same using a shared node cluster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read about the `spark.databricks.pyspark.iptable.outbound.whitelisted.ports` , however, setting that :&amp;nbsp;&lt;/P&gt;&lt;P&gt;`spark.databricks.pyspark.iptable.outbound.whitelisted.ports 587,9100,9243,443,22,80`&lt;/P&gt;&lt;P&gt;does not make it work.&amp;nbsp;&lt;A class="" href="https://community.databricks.com/t5/get-started-discussions/bd-p/get-started-with-databricks-discussion" target="_blank" rel="noopener"&gt;Get Started Discussions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would like if there are settings I'm missing or the above settings is the only supposed to be used in that case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 13:55:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58841#M794</guid>
      <dc:creator>6502</dc:creator>
      <dc:date>2024-01-31T13:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: In Shared cluster with unity catalog Python process can't connect</title>
      <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58855#M796</link>
      <description>&lt;P&gt;Hi, I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Can you confirm if the connectivity works well while using the "Single User" and "No-Isolation Shared" clusters? The Shared clusters, by default, block outbound traffic to some of the ports.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround 1:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to add this spark property on the shared cluster and try to run the same connectivity tests&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;====&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;spark.databricks.pyspark.iptable.outbound.whitelisted.ports 4554&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;====&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this fails, please try to configure an init script to run on the shared cluster where this issue is observed. The init script uses use IP tables firewall to open INPUT/OUTPUT TCP connections to port 4554 for the cluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Workaround 2:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Create an init-script with the below script, attach it to the cluster and run the connectivity test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;====&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#!/bin/bash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;iptables -A OUTPUT -p tcp --dport 4554 -j ACCEPT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;iptables -A INPUT -p tcp --dport 4554 -j ACCEPT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;====&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try both of the workarounds and keep us posted regarding the progress. Also, do not hesitate to reach out to us if you need any help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note: I have taken port&amp;nbsp;4554 as an example. Please change it as per your use case.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:34:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58855#M796</guid>
      <dc:creator>Yeshwanth</dc:creator>
      <dc:date>2024-01-31T15:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: In Shared cluster with unity catalog Python process can't connect</title>
      <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58970#M821</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;spark.databricks.pyspark.iptable.outbound.whitelisted.ports &amp;lt;-- this is not working&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This rule is supposed to accept the incoming to port 80, however, my problem is the outgoing connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Are you sure I need to add this?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;iptables &lt;/SPAN&gt;&lt;SPAN class=""&gt;-A&lt;/SPAN&gt;&lt;SPAN class=""&gt; INPUT &lt;/SPAN&gt;&lt;SPAN class=""&gt;-p&lt;/SPAN&gt;&lt;SPAN class=""&gt; tcp &lt;/SPAN&gt;&lt;SPAN class=""&gt;--dport&lt;/SPAN&gt; &lt;SPAN class=""&gt;80&lt;/SPAN&gt; &lt;SPAN class=""&gt;-j&lt;/SPAN&gt;&lt;SPAN class=""&gt; ACCEPT&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 09:33:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58970#M821</guid>
      <dc:creator>6502</dc:creator>
      <dc:date>2024-02-01T09:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: In Shared cluster with unity catalog Python process can't connect</title>
      <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58976#M823</link>
      <description>&lt;P&gt;The init.sh can't be tested&lt;BR /&gt;&lt;SPAN&gt;INVALID_PARAMETER_VALUE: Attempting to install the following init scripts that are not in the allowlist. /Volumes/main/default/datalake/libs/init.sh: PERMISSION_DENIED: '/Volumes/main/default/datalake/libs/init.sh' is not in the artifact allowlist&lt;/SPAN&gt;&lt;BR /&gt;I'll back as soon as possibile.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 11:32:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/58976#M823</guid>
      <dc:creator>6502</dc:creator>
      <dc:date>2024-02-01T11:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: In Shared cluster with unity catalog Python process can't connect</title>
      <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/59022#M826</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74715"&gt;@6502&lt;/a&gt;&amp;nbsp;Please try placing the init script on the S3 or Workspace location and share the results here.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 07:05:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/59022#M826</guid>
      <dc:creator>Yeshwanth</dc:creator>
      <dc:date>2024-02-02T07:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: In Shared cluster with unity catalog Python process can't connect</title>
      <link>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/90781#M1825</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74715"&gt;@6502&lt;/a&gt;&amp;nbsp;you first need to allow the script in the metastore configuration (navgiate to catalog, on the top of the page there's a small cogwheel, click on your catalog name), then:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Näyttökuva 2024-09-17 212912.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11294i5511C6969C1B2F45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Näyttökuva 2024-09-17 212912.png" alt="Näyttökuva 2024-09-17 212912.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 18:32:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/in-shared-cluster-with-unity-catalog-python-process-can-t/m-p/90781#M1825</guid>
      <dc:creator>adriennn</dc:creator>
      <dc:date>2024-09-17T18:32:29Z</dc:date>
    </item>
  </channel>
</rss>

