<?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: Write data Frame into Azure Data Lake Storage in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28640#M20417</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am new in Azure Data Bricks..and I am trying to write the Data frame in mounted ADLS file. But in below command&lt;/P&gt;
&lt;P&gt;dfGPS.write.mode("overwrite").format("com.databricks.spark.csv").option("header","true").csv("/mnt/&amp;lt;mount-name&amp;gt;")&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Sep 2018 10:36:27 GMT</pubDate>
    <dc:creator>PawanShukla</dc:creator>
    <dc:date>2018-09-29T10:36:27Z</dc:date>
    <item>
      <title>Write data Frame into Azure Data Lake Storage</title>
      <link>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28638#M20415</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;It happens that I am manipulating some data using Azure Databricks. Such data is in an Azure Data Lake Storage Gen1. I mounted the data into DBFS, but now, after transforming the data I would like to write it back into my data lake.&lt;/P&gt;
&lt;P&gt;To mount the data I used the following:&lt;/P&gt;configs = {"dfs.adls.oauth2.access.token.provider.type": "ClientCredential", "dfs.adls.oauth2.client.id": "&amp;lt;your-service-client-id&amp;gt;", "dfs.adls.oauth2.credential": "&amp;lt;your-service-credentials&amp;gt;", "dfs.adls.oauth2.refresh.url": "https://login.microsoftonline.com/&amp;lt;your-directory-id&amp;gt;/oauth2/token"}
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;dbutils.fs.mount( source = "adl://&amp;lt;your-data-lake-store-account-name&amp;gt;.azuredatalakestore.net/&amp;lt;your-directory-name&amp;gt;", mount_point = "/mnt/&amp;lt;mount-name&amp;gt;", extra_configs = configs) &lt;/P&gt;
&lt;P&gt;I want to write back a .csv file. For this task I am using the following line&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;dfGPS.write.mode("overwrite").format("com.databricks.spark.csv").option("header", "true").csv("adl://&amp;lt;your-data-lake-store-account-name&amp;gt;.azuredatalakestore.net/&amp;lt;your-directory-name&amp;gt;")
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, I get the following error: &lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;IllegalArgumentException: u'No value for dfs.adls.oauth2.access.token.provider found in conf file.'
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Any piece of code, suggestions that can help me? Or link that walks me through.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:00:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28638#M20415</guid>
      <dc:creator>juan_perez</dc:creator>
      <dc:date>2018-08-03T14:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Write data Frame into Azure Data Lake Storage</title>
      <link>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28639#M20416</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;Did you try writing to your mount point location?&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;dfGPS.write.mode("overwrite").format("com.databricks.spark.csv").option("header","true").csv("/mnt/&amp;lt;mount-name&amp;gt;")&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;There is a related post here to configure the appropriate Hadoop properties if you want to use ADL syntax.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.databricks.com/questions/13205/azure-data-lake-config-issue-no-value-for-dfsadlso.html" target="test_blank"&gt;https://forums.databricks.com/questions/13205/azure-data-lake-config-issue-no-value-for-dfsadlso.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;cheers,&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 11:12:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28639#M20416</guid>
      <dc:creator>AndrewSears</dc:creator>
      <dc:date>2018-08-04T11:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Write data Frame into Azure Data Lake Storage</title>
      <link>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28640#M20417</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am new in Azure Data Bricks..and I am trying to write the Data frame in mounted ADLS file. But in below command&lt;/P&gt;
&lt;P&gt;dfGPS.write.mode("overwrite").format("com.databricks.spark.csv").option("header","true").csv("/mnt/&amp;lt;mount-name&amp;gt;")&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 10:36:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/write-data-frame-into-azure-data-lake-storage/m-p/28640#M20417</guid>
      <dc:creator>PawanShukla</dc:creator>
      <dc:date>2018-09-29T10:36:27Z</dc:date>
    </item>
  </channel>
</rss>

