<?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: How to automatically sync a MySQL table with a Hive external table using Sqoop? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187329#M65035</link>
    <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/3902/rbiswas.html" nodeid="3902"&gt;@rbiswas&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 16:21:07 GMT</pubDate>
    <dc:creator>kulasangar91</dc:creator>
    <dc:date>2017-07-21T16:21:07Z</dc:date>
    <item>
      <title>How to automatically sync a MySQL table with a Hive external table using Sqoop?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187326#M65032</link>
      <description>&lt;P&gt;I'm already having a MySQL table in my local machine (Linux) it self, and I have a Hive external table with the same schema as the MySQL table.&lt;/P&gt;&lt;P&gt;I'm trying to import data from MySQL table to my Hive external table and I'm using sqoop for this.&lt;/P&gt;&lt;P&gt;But then the problem is, whenever a new record is being added to the MySQL table, it doesn't update the Hive external table automatically?&lt;/P&gt;&lt;P&gt;This is the sqoop import command I'm using:&lt;/P&gt;&lt;PRE&gt;sqoop import --connect jdbc:mysql://localhost:3306/sqoop --username root -P --split-by id --columns id,name,age,salary --table customer --target-dir /user/chamith/mysqlhivetest/ --fields-terminated-by ","  --hive-import --hive-table test.customers&lt;/PRE&gt;&lt;P&gt;Am I missing something over here? Or how can this be done?&lt;/P&gt;&lt;P&gt;Any help could be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 18:58:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187326#M65032</guid>
      <dc:creator>kulasangar91</dc:creator>
      <dc:date>2017-07-17T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically sync a MySQL table with a Hive external table using Sqoop?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187327#M65033</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/19203/kulasangar91.html" nodeid="19203"&gt;@Kulasangar Gowrisangar&lt;/A&gt;&lt;P&gt;You need to save a sqoop job for it to happen automatically.&lt;/P&gt;&lt;P&gt;You can follow this article:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://dwbi.org/etl/bigdata/195-sqoop-merge-incremental-extraction-from-oracle"&gt;https://dwbi.org/etl/bigdata/195-sqoop-merge-incremental-extraction-from-oracle&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 22:18:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187327#M65033</guid>
      <dc:creator>rbiswas1</dc:creator>
      <dc:date>2017-07-17T22:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically sync a MySQL table with a Hive external table using Sqoop?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187328#M65034</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19203/kulasangar91.html" nodeid="19203"&gt;@Kulasangar Gowrisangar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If this worked for you please click the accept button in the answer to close the thread.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 23:41:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187328#M65034</guid>
      <dc:creator>rbiswas1</dc:creator>
      <dc:date>2017-07-19T23:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically sync a MySQL table with a Hive external table using Sqoop?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187329#M65035</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/3902/rbiswas.html" nodeid="3902"&gt;@rbiswas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:21:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-automatically-sync-a-MySQL-table-with-a-Hive-external/m-p/187329#M65035</guid>
      <dc:creator>kulasangar91</dc:creator>
      <dc:date>2017-07-21T16:21:07Z</dc:date>
    </item>
  </channel>
</rss>

