<?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: Reading csv file with spark throws [insufficient privelage] error in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66683#M7113</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92566"&gt;@chari&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where you saved the files it in DBFS or an external location such as ADLS, S3 Also, please confirm if you have enabled UC on your workspace or not?&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2024 08:02:11 GMT</pubDate>
    <dc:creator>Ajay-Pandey</dc:creator>
    <dc:date>2024-04-19T08:02:11Z</dc:date>
    <item>
      <title>Reading csv file with spark throws [insufficient privelage] error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66672#M7112</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I have some csv files saved in databricks workspace and want to read them with spark. I make use of the command&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; spark.read.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'csv'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;load&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;r&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;filepath&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, it throws the error.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;org.apache.spark.SparkSecurityException: [INSUFFICIENT_PERMISSIONS] Insufficient privileges:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I own these files as they reside in my workspace. Could you please help me to understand the cause&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and a solution for the error ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Apr 2024 07:00:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66672#M7112</guid>
      <dc:creator>chari</dc:creator>
      <dc:date>2024-04-19T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reading csv file with spark throws [insufficient privelage] error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66683#M7113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92566"&gt;@chari&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where you saved the files it in DBFS or an external location such as ADLS, S3 Also, please confirm if you have enabled UC on your workspace or not?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 08:02:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66683#M7113</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2024-04-19T08:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading csv file with spark throws [insufficient privelage] error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66725#M7115</link>
      <description>&lt;P&gt;If this a UC enabled workspace, you need to provide the right access.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 11:09:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/reading-csv-file-with-spark-throws-insufficient-privelage-error/m-p/66725#M7115</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-04-19T11:09:41Z</dc:date>
    </item>
  </channel>
</rss>

