<?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>question Installation and usage of Databricks Spark-CSV with Python in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216045#M177955</link>
    <description>&lt;P&gt;
	I'm new to spark and try to load a csv File in a Spark DataFrame using the Databricks Spark-CSV jar. I started a python script with &lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/spark-client/bin/spark-submit ~/main.py &lt;/PRE&gt;&lt;P&gt;I got a java.lang.ClassNotFoundException for com.databricks.spark.csv which makes sense due to the fact that I haven't got the .jar in my path. Can anybody tell me how to add .jar files to my system for the use with PySpark?&lt;/P&gt;</description>
    <pubDate>Sat, 12 Aug 2017 00:53:03 GMT</pubDate>
    <dc:creator>lukas_mueller02</dc:creator>
    <dc:date>2017-08-12T00:53:03Z</dc:date>
    <item>
      <title>Installation and usage of Databricks Spark-CSV with Python</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216045#M177955</link>
      <description>&lt;P&gt;
	I'm new to spark and try to load a csv File in a Spark DataFrame using the Databricks Spark-CSV jar. I started a python script with &lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/spark-client/bin/spark-submit ~/main.py &lt;/PRE&gt;&lt;P&gt;I got a java.lang.ClassNotFoundException for com.databricks.spark.csv which makes sense due to the fact that I haven't got the .jar in my path. Can anybody tell me how to add .jar files to my system for the use with PySpark?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 00:53:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216045#M177955</guid>
      <dc:creator>lukas_mueller02</dc:creator>
      <dc:date>2017-08-12T00:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Installation and usage of Databricks Spark-CSV with Python</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216046#M177956</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/29248/lukasmueller0289.html" nodeid="29248"&gt;@Lukas Müller&lt;/A&gt;, does this work for you?&lt;/P&gt;&lt;PRE&gt;./bin/spark-submit --jars /path/to/file1.jar,/path/to/file2.jar --packages com.databricks:spark-csv_2.x:x.x.x pyspark_code.py&lt;/PRE&gt;&lt;P&gt;What version of Spark are you using? If you are using Spark 2.0+, you should not need to specify this jar (just as an FYI for you). Please let me know if this helps. &lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 01:04:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216046#M177956</guid>
      <dc:creator>dzaratsian</dc:creator>
      <dc:date>2017-08-12T01:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Installation and usage of Databricks Spark-CSV with Python</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216047#M177957</link>
      <description>&lt;P&gt;I'm using Spark 1.6.3&lt;/P&gt;&lt;P&gt;That did the trick!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 01:22:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216047#M177957</guid>
      <dc:creator>lukas_mueller02</dc:creator>
      <dc:date>2017-08-12T01:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Installation and usage of Databricks Spark-CSV with Python</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216048#M177958</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/29248/lukasmueller0289.html" nodeid="29248"&gt;@Lukas Müller&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Great, happy you got it working!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 01:28:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Installation-and-usage-of-Databricks-Spark-CSV-with-Python/m-p/216048#M177958</guid>
      <dc:creator>dzaratsian</dc:creator>
      <dc:date>2017-08-12T01:28:13Z</dc:date>
    </item>
  </channel>
</rss>

