<?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: Using Distcp on Encryption Zones in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148464#M44444</link>
    <description>&lt;P&gt;The Ranger KMS has import/export scripts that you can use on both the source and target clusters.&lt;/P&gt;&lt;P&gt;So you can export the keys from the source cluster, copy them over to the target cluster, import them into the target KMS, create your encryption zones on the target using the imported keys, and use distcp as described in the guide.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 21:06:11 GMT</pubDate>
    <dc:creator>bhagan</dc:creator>
    <dc:date>2016-10-25T21:06:11Z</dc:date>
    <item>
      <title>Using Distcp on Encryption Zones</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148463#M44443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_hdfs_admin_tools/content/config-use-hdfs-encr.html#read-write-ez"&gt;HDFS Admin Guide&lt;/A&gt;, for copying data across encryption zones (inter-cluster or intra-cluster) it has been recommended to use distcp on /.reserved/raw/source_data_dir instead of source_data_dir directly. I believe the reason behind this is to reduce the unnecessary decryption and encryption of the copied-over data on source and destination respectively. &lt;/P&gt;&lt;P&gt;My question is that if we copy from /.reserved/raw directory, the data on the destination would obviously be in encrypted form which means the KMS keys as well need to be copied over separately, like database dump or something like that? Any pointers on what is the best strategy in this case?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 18:28:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148463#M44443</guid>
      <dc:creator>techiegreenhorn</dc:creator>
      <dc:date>2016-10-25T18:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Distcp on Encryption Zones</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148464#M44444</link>
      <description>&lt;P&gt;The Ranger KMS has import/export scripts that you can use on both the source and target clusters.&lt;/P&gt;&lt;P&gt;So you can export the keys from the source cluster, copy them over to the target cluster, import them into the target KMS, create your encryption zones on the target using the imported keys, and use distcp as described in the guide.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 21:06:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148464#M44444</guid>
      <dc:creator>bhagan</dc:creator>
      <dc:date>2016-10-25T21:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Distcp on Encryption Zones</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148465#M44445</link>
      <description>&lt;P&gt;Take a look at the link below for a detailed explanation.  In short though, yes, a database dump and load of the keys is necessary using the provided "exportKeysToJCEKS.sh" and "importKeysToJCEKS.sh" scripts.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/51909/how-to-copy-encrypted-data-between-two-hdp-cluster.html" target="_blank"&gt;https://community.hortonworks.com/articles/51909/how-to-copy-encrypted-data-between-two-hdp-cluster.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 00:18:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Distcp-on-Encryption-Zones/m-p/148465#M44445</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-10-26T00:18:04Z</dc:date>
    </item>
  </channel>
</rss>

