<?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: kudu tables migration from one cluster to another cluster with records/data. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/kudu-tables-migration-from-one-cluster-to-another-cluster/m-p/303144#M221412</link>
    <description>&lt;P&gt;I have tested the backup/restore solution and seems to be working like charm with spark :&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;-First, check and record the names as given in the list of the kudu_master (or the primary elected master in case of multi masters )&amp;nbsp;&lt;BR /&gt;http://Master1:8051/tables&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Download the kudu-backupX.X.jar in case you can't find it in&amp;nbsp;/opt/cloudera/parcels/CDH-X.Xcdh.XX/lib/ and put it there&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-In&amp;nbsp;kuduMasterAddresses you put the name of your Kudu_master or the names of your three masters separated by ','&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-Backup :&amp;nbsp;&lt;BR /&gt;sudo -u hdfs spark2-submit --class org.apache.kudu.backup.KuduBackup&amp;nbsp; /opt/cloudera/parcels/CDH-X.Xcdh.XX/lib/kudu-backup2_2.11-1.13.0.jar --kuduMasterAddresses MASTER1(,MASTER2,..) --rootPath hdfs:///PATH_HDFS&lt;BR /&gt;impala::DB.TABLE&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;-COPY :&lt;BR /&gt;sudo -u hdfs hadoop distcp -i - hdfs:///PATH_HDFS/DB.TABLE hdfs://XXX:8020/kudu_backups/&lt;BR /&gt;&lt;BR /&gt;-Restore:&lt;/P&gt;
&lt;P&gt;sudo -u hdfs spark2-submit --class org.apache.kudu.backup.KuduRestore /opt/cloudera/parcels/CDH-X.Xcdh.XX/lib/kudu-backup2_2.11-1.13.0.jar --kuduMasterAddresses MASTER1(,MASTER2,..) --rootPath hdfs:///PATH_HDFS&amp;nbsp;impala::DB.TABLE&lt;BR /&gt;&lt;BR /&gt;finally&lt;BR /&gt;INVALIDATE METADATA&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 21:23:28 GMT</pubDate>
    <dc:creator>Bildervic</dc:creator>
    <dc:date>2020-09-21T21:23:28Z</dc:date>
  </channel>
</rss>

