<?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 Failed to start isolated execution environment in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/failed-to-start-isolated-execution-environment/m-p/82941#M36785</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, I'm using PySpark to convert images to base64 format. The code works perfectly fine when I run it from any location on cluster. However, when the notebook is part of a GitHub repo hosted on Databricks, I get the following error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[ISOLATION_STARTUP_FAILURE] Failed &lt;SPAN class=""&gt;to start isolated execution environment. Please contact Databricks support. SQLSTATE: XXKSS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Could someone explain why the code works outside of the repo but fails when run from the GitHub repo on Databricks? Cluster and other things remain same. Its an dev all purpose cluster&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 14 Aug 2024 09:55:21 GMT</pubDate>
    <dc:creator>supportvector</dc:creator>
    <dc:date>2024-08-14T09:55:21Z</dc:date>
    <item>
      <title>Failed to start isolated execution environment</title>
      <link>https://community.databricks.com/t5/data-engineering/failed-to-start-isolated-execution-environment/m-p/82941#M36785</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, I'm using PySpark to convert images to base64 format. The code works perfectly fine when I run it from any location on cluster. However, when the notebook is part of a GitHub repo hosted on Databricks, I get the following error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[ISOLATION_STARTUP_FAILURE] Failed &lt;SPAN class=""&gt;to start isolated execution environment. Please contact Databricks support. SQLSTATE: XXKSS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Could someone explain why the code works outside of the repo but fails when run from the GitHub repo on Databricks? Cluster and other things remain same. Its an dev all purpose cluster&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Aug 2024 09:55:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/failed-to-start-isolated-execution-environment/m-p/82941#M36785</guid>
      <dc:creator>supportvector</dc:creator>
      <dc:date>2024-08-14T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start isolated execution environment</title>
      <link>https://community.databricks.com/t5/data-engineering/failed-to-start-isolated-execution-environment/m-p/82942#M36786</link>
      <description>&lt;P&gt;below is the base64 conversion code that i am using&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;image_to_base64&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;image_path&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;open&lt;/SPAN&gt;&lt;SPAN&gt;(image_path, &lt;/SPAN&gt;&lt;SPAN&gt;"rb"&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; image_file:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; base64.&lt;/SPAN&gt;&lt;SPAN&gt;b64encode&lt;/SPAN&gt;&lt;SPAN&gt;(image_file.&lt;/SPAN&gt;&lt;SPAN&gt;read&lt;/SPAN&gt;&lt;SPAN&gt;()).&lt;/SPAN&gt;&lt;SPAN&gt;decode&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;except&lt;/SPAN&gt; &lt;SPAN&gt;Exception&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; e:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;str&lt;/SPAN&gt;&lt;SPAN&gt;(e) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Aug 2024 09:57:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/failed-to-start-isolated-execution-environment/m-p/82942#M36786</guid>
      <dc:creator>supportvector</dc:creator>
      <dc:date>2024-08-14T09:57:06Z</dc:date>
    </item>
  </channel>
</rss>

