<?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 Backup specific Hive table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132606#M95276</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am able to backup all my hive tables by backuping the HDFS folder /apps/hive/warehouse and the MySQL database (mysql dump and restore).&lt;/P&gt;&lt;P&gt;How can I backup some Hive tables only? for HDFS files it's easy. But how can I backup/restore the metadata from MySQL for only those tables ?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Joe
&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 01:54:41 GMT</pubDate>
    <dc:creator>joe_harvyy</dc:creator>
    <dc:date>2017-01-18T01:54:41Z</dc:date>
    <item>
      <title>Backup specific Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132606#M95276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am able to backup all my hive tables by backuping the HDFS folder /apps/hive/warehouse and the MySQL database (mysql dump and restore).&lt;/P&gt;&lt;P&gt;How can I backup some Hive tables only? for HDFS files it's easy. But how can I backup/restore the metadata from MySQL for only those tables ?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Joe
&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 01:54:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132606#M95276</guid>
      <dc:creator>joe_harvyy</dc:creator>
      <dc:date>2017-01-18T01:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Backup specific Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132607#M95277</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15184/joeharvyy.html" nodeid="15184"&gt;@Joe Harvy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can create scripts that will create the databases and tables based off the Hive metastore. This blog walks you through the step.&lt;/P&gt;&lt;P&gt;&lt;A href="https://sharebigdata.wordpress.com/2016/06/12/hive-metastore-internal-tables/"&gt;https://sharebigdata.wordpress.com/2016/06/12/hive-metastore-internal-tables/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:03:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132607#M95277</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2017-01-18T02:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Backup specific Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132608#M95278</link>
      <description>&lt;P&gt;Great post &lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The partial backup/restore of Hive metastore can be a good new feature for Hive.&lt;/P&gt;&lt;P&gt;In general Hive Metastore is shared by many projects/teams , and at the moment we are unable to restore the metadata for one team ( only few tables ) without impacting the others.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:15:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132608#M95278</guid>
      <dc:creator>ahallam</dc:creator>
      <dc:date>2017-02-22T20:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Backup specific Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132609#M95279</link>
      <description>&lt;P&gt;One another way to backup/restore specific hive tables would be to use 'show create table' to back up DDL which could be used to recreate the table. Then the saved hdfs files could be dropped to warehouse dir to finish the table restore.&lt;/P&gt;&lt;P&gt;beeline -u jdbc:hive2://&amp;lt;cluster-name&amp;gt;:&amp;lt;port#&amp;gt;/&amp;lt;db-name&amp;gt; --outputformat=csv -e "show create table &amp;lt;table-name&amp;gt;;" &amp;gt; &amp;lt;table_name&amp;gt;.ddl&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 13:35:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Backup-specific-Hive-table/m-p/132609#M95279</guid>
      <dc:creator>asreekumar</dc:creator>
      <dc:date>2017-02-28T13:35:10Z</dc:date>
    </item>
  </channel>
</rss>

