<?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: Compute kind SERVERLESS_REPL_VM is not allowed to use cluster scoped libraries. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127513#M47993</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’ve come across the same issue reading an Excel file into a PySpark dataframe via Serverless compute.&amp;nbsp;&lt;BR /&gt;As the error states with Serverless, you cannot install a cluster scoped library so you have to use notebook scoped libraries (%pip install…). Unfortunately that doesn’t apply to Maven libraries which is annoying.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As a workaround you can use Pandas to read the Excel file first and read it into a PySpark Dataframe.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Kerem Durak&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2025 22:54:55 GMT</pubDate>
    <dc:creator>kerem</dc:creator>
    <dc:date>2025-08-05T22:54:55Z</dc:date>
    <item>
      <title>Compute kind SERVERLESS_REPL_VM is not allowed to use cluster scoped libraries.</title>
      <link>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127508#M47991</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_0-1754430186158.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18747i49EC761F9AD1A25B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_0-1754430186158.png" alt="ManojkMohan_0-1754430186158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i have a s3 uri 's3://salesforcedatabricksorders/orders_data.xlsx' , i have created a connector between data bricks and salesfoce, i am first gettig the orders_data.xlsx to databricks layer perform basic transformation on it and then send it to salesforce data cloud&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following the below steps but getting the error int he screen shot , i am using databricks free version&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Navigate to your cluster's configuration page in the Databricks UI.&lt;/LI&gt;&lt;LI&gt;Go to the&amp;nbsp;Libraries&amp;nbsp;tab.&lt;/LI&gt;&lt;LI&gt;Click&amp;nbsp;Install New.&lt;/LI&gt;&lt;LI&gt;Select&amp;nbsp;Maven&amp;nbsp;as the source.&lt;/LI&gt;&lt;LI&gt;In the&amp;nbsp;Coordinates&amp;nbsp;box, enter:&amp;nbsp;com.crealytics:spark-excel_2.12:3.5.0&lt;/LI&gt;&lt;LI&gt;Click&amp;nbsp;Install. The cluster will restart with the new library.&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp; have you come across this before ?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 05 Aug 2025 21:46:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127508#M47991</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-05T21:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Compute kind SERVERLESS_REPL_VM is not allowed to use cluster scoped libraries.</title>
      <link>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127512#M47992</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/155141"&gt;@ManojkMohan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is a well known limitation of serverless compute. Moreover, serverless doesn't support installing libraries at cluster scope. Only notebook scoped libraries are supported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case, as a workaround you can try to use pandas to read excel&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/compute/serverless/limitations" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/compute/serverless/limitations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 22:53:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127512#M47992</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-05T22:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Compute kind SERVERLESS_REPL_VM is not allowed to use cluster scoped libraries.</title>
      <link>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127513#M47993</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’ve come across the same issue reading an Excel file into a PySpark dataframe via Serverless compute.&amp;nbsp;&lt;BR /&gt;As the error states with Serverless, you cannot install a cluster scoped library so you have to use notebook scoped libraries (%pip install…). Unfortunately that doesn’t apply to Maven libraries which is annoying.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As a workaround you can use Pandas to read the Excel file first and read it into a PySpark Dataframe.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Kerem Durak&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 22:54:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/compute-kind-serverless-repl-vm-is-not-allowed-to-use-cluster/m-p/127513#M47993</guid>
      <dc:creator>kerem</dc:creator>
      <dc:date>2025-08-05T22:54:55Z</dc:date>
    </item>
  </channel>
</rss>

