<?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 Re: Load MYSQL table in to RDD in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166320#M53814</link>
    <description>&lt;P&gt;There is a JDBC RDD function:&lt;/P&gt;&lt;PRE&gt;newJdbcRDD(sc: SparkContext, getConnection: () ⇒ Connection, sql: String, lowerBound: Long, upperBound: Long, numPartitions: Int, mapRow: (ResultSet) ⇒ T = JdbcRDD.resultSetToObjectArray)(implicit arg0: ClassTag[T])&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Feb 2017 00:48:23 GMT</pubDate>
    <dc:creator>jwiden</dc:creator>
    <dc:date>2017-02-09T00:48:23Z</dc:date>
    <item>
      <title>Load MYSQL table in to RDD</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166318#M53812</link>
      <description>&lt;P&gt;How can I load a complete table to an RDD using Spark.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 22:59:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166318#M53812</guid>
      <dc:creator>das_dineshk</dc:creator>
      <dc:date>2017-02-08T22:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load MYSQL table in to RDD</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166319#M53813</link>
      <description>&lt;P&gt;I'm not aware of direct connector to MySQL.  You could use Sqoop to ingest the contents of your table into HDFS then use the SparkContext's textFile() method to load it as an RDD.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 00:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166319#M53813</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2017-02-09T00:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load MYSQL table in to RDD</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166320#M53814</link>
      <description>&lt;P&gt;There is a JDBC RDD function:&lt;/P&gt;&lt;PRE&gt;newJdbcRDD(sc: SparkContext, getConnection: () ⇒ Connection, sql: String, lowerBound: Long, upperBound: Long, numPartitions: Int, mapRow: (ResultSet) ⇒ T = JdbcRDD.resultSetToObjectArray)(implicit arg0: ClassTag[T])&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2017 00:48:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-MYSQL-table-in-to-RDD/m-p/166320#M53814</guid>
      <dc:creator>jwiden</dc:creator>
      <dc:date>2017-02-09T00:48:23Z</dc:date>
    </item>
  </channel>
</rss>

