<?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 Trying to run databricks academy labs, but execution fails due to method to clearcache not whilelist in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66411#M33104</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Im trying to run&amp;nbsp;DE 2.1 - Querying Files Directly on my workspace with a default cluster configuration for found below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brammer88_0-1713340930496.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7066i0865B12D2CCC98A0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Brammer88_0-1713340930496.png" alt="Brammer88_0-1713340930496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I cannot seem to run this file (or any other labs) as it gives me this error message&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Resetting the learning environment:&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;The execution of this command did not finish successfully&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Python interpreter will be restarted. Python interpreter will be restarted.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Resetting the learning environment:&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;py4j.security.Py4JSecurityException: Method public void org.apache.spark.sql.internal.CatalogImpl.clearCache() is not whitelisted on class class org.apache.spark.sql.internal.CatalogImpl&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Any pointers as to how i can fix this?Where do i need to go to whitelist this class and how would i do this?&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks,&lt;/DIV&gt;&lt;DIV class=""&gt;Bram&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 08:04:18 GMT</pubDate>
    <dc:creator>Brammer88</dc:creator>
    <dc:date>2024-04-17T08:04:18Z</dc:date>
    <item>
      <title>Trying to run databricks academy labs, but execution fails due to method to clearcache not whilelist</title>
      <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66411#M33104</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Im trying to run&amp;nbsp;DE 2.1 - Querying Files Directly on my workspace with a default cluster configuration for found below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brammer88_0-1713340930496.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7066i0865B12D2CCC98A0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Brammer88_0-1713340930496.png" alt="Brammer88_0-1713340930496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I cannot seem to run this file (or any other labs) as it gives me this error message&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Resetting the learning environment:&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;The execution of this command did not finish successfully&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Python interpreter will be restarted. Python interpreter will be restarted.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Resetting the learning environment:&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;py4j.security.Py4JSecurityException: Method public void org.apache.spark.sql.internal.CatalogImpl.clearCache() is not whitelisted on class class org.apache.spark.sql.internal.CatalogImpl&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Any pointers as to how i can fix this?Where do i need to go to whitelist this class and how would i do this?&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks,&lt;/DIV&gt;&lt;DIV class=""&gt;Bram&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 08:04:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66411#M33104</guid>
      <dc:creator>Brammer88</dc:creator>
      <dc:date>2024-04-17T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to run databricks academy labs, but execution fails due to method to clearcache not while</title>
      <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66542#M33147</link>
      <description>&lt;P&gt;works, thanks for the quick response!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 06:41:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66542#M33147</guid>
      <dc:creator>Brammer88</dc:creator>
      <dc:date>2024-04-18T06:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to run databricks academy labs, but execution fails due to method to clearcache not while</title>
      <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66583#M33157</link>
      <description>&lt;P&gt;Hi Kaniz,&lt;/P&gt;&lt;P&gt;Im not sure why, but it seems like its not working after all and I was cheering to soon.&lt;/P&gt;&lt;P&gt;I have added a line&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.jvm.class.allowlist org.apache.spark.sql.internal.CatalogImpl.clearCache &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to my cluster in the spark config (under advanced options), but i still get the same response;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;"&lt;EM&gt;The execution of this command did not finish successfully&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Python interpreter will be restarted. Python interpreter will be restarted.&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Resetting the learning environment:&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;py4j.security.Py4JSecurityException: Method public void org.apache.spark.sql.internal.CatalogImpl.clearCache() is not whitelisted on class class org.apache.spark.sql.internal.CatalogImpl&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Command skipped&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Command skipped"&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Do you have any ideas as to what I am doing wrong?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks,&lt;/DIV&gt;&lt;DIV class=""&gt;Bram&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 10:36:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66583#M33157</guid>
      <dc:creator>Brammer88</dc:creator>
      <dc:date>2024-04-18T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to run databricks academy labs, but execution fails due to method to clearcache not while</title>
      <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66894#M33221</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Do you have any other solution/idea as to what might cause the issue? Or do you need any more details for investigation? Thanks again for your help! I am completely stuck as I am unable to do any work with the labs in this way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bram&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 07:25:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66894#M33221</guid>
      <dc:creator>Brammer88</dc:creator>
      <dc:date>2024-04-22T07:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to run databricks academy labs, but execution fails due to method to clearcache not while</title>
      <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66900#M33225</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9" target="_blank"&gt;@Kaniz&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Sorry, I was too fast with this reply, i&lt;SPAN&gt;m not sure why, but it seems like its not working after all and I was cheering to soon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have added a line&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.jvm.class.allowlist org.apache.spark.sql.internal.CatalogImpl.clearCache&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to my cluster in the spark config (under advanced options), but i still get the same response;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;"&lt;EM&gt;The execution of this command did not finish successfully&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Python interpreter will be restarted. Python interpreter will be restarted.&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Resetting the learning environment:&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;py4j.security.Py4JSecurityException: Method public void org.apache.spark.sql.internal.CatalogImpl.clearCache() is not whitelisted on class class org.apache.spark.sql.internal.CatalogImpl&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Command skipped&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;Command skipped"&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Do you have any other solution/idea as to what might cause the issue? Or do you need any more details for investigation? Thanks again for your help! I am completely stuck as I am unable to do any work with the labs in this way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bram&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 08:43:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/66900#M33225</guid>
      <dc:creator>Brammer88</dc:creator>
      <dc:date>2024-04-22T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to run databricks academy labs, but execution fails due to method to clearcache not while</title>
      <link>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/67746#M33432</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;and databricks team,&lt;/P&gt;&lt;P&gt;Did you already found some other solution for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bram&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 20:34:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trying-to-run-databricks-academy-labs-but-execution-fails-due-to/m-p/67746#M33432</guid>
      <dc:creator>Brammer88</dc:creator>
      <dc:date>2024-04-30T20:34:19Z</dc:date>
    </item>
  </channel>
</rss>

