<?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: Navigator can not encrypt the old data, right? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/48411#M46031</link>
    <description>&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The encryption requies empty HDFS directory to begin with as per the design.&amp;nbsp; I'm afraid that you can't encrypt the old data which is already present.&amp;nbsp; Please refer the below link and there were some good discussion a the end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2015/01/new-in-cdh-5-3-transparent-encryption-in-hdfs/" target="_blank"&gt;http://blog.cloudera.com/blog/2015/01/new-in-cdh-5-3-transparent-encryption-in-hdfs/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nagaraj C&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2016 09:05:25 GMT</pubDate>
    <dc:creator>chinumari</dc:creator>
    <dc:date>2016-12-09T09:05:25Z</dc:date>
    <item>
      <title>Navigator can not encrypt the old data, right?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/47309#M46029</link>
      <description>&lt;P&gt;if enable Navigator after CDH has run for long time, the old data can not be encrpted, and the new encrypted data also can not be palced into the old diretory. right?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 14:39:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/47309#M46029</guid>
      <dc:creator>David chen</dc:creator>
      <dc:date>2016-11-13T14:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Navigator can not encrypt the old data, right?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/47511#M46030</link>
      <description>any ideas?</description>
      <pubDate>Thu, 17 Nov 2016 15:41:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/47511#M46030</guid>
      <dc:creator>David chen</dc:creator>
      <dc:date>2016-11-17T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Navigator can not encrypt the old data, right?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/48411#M46031</link>
      <description>&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The encryption requies empty HDFS directory to begin with as per the design.&amp;nbsp; I'm afraid that you can't encrypt the old data which is already present.&amp;nbsp; Please refer the below link and there were some good discussion a the end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2015/01/new-in-cdh-5-3-transparent-encryption-in-hdfs/" target="_blank"&gt;http://blog.cloudera.com/blog/2015/01/new-in-cdh-5-3-transparent-encryption-in-hdfs/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nagaraj C&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 09:05:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/48411#M46031</guid>
      <dc:creator>chinumari</dc:creator>
      <dc:date>2016-12-09T09:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Navigator can not encrypt the old data, right?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/66415#M46032</link>
      <description>&lt;P&gt;Assuming that you are referencing Cloudera Navigator Encrypt, as part of the process of encrypting a disk, you can move existing data onto that newly encrypted disk.&amp;nbsp; See the &lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/navigator_encrypt_data.html" target="_blank"&gt;navencrypt-move&lt;/A&gt; command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are referring to &lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/sg_hdfs_encryption_keys_zones.html" target="_blank"&gt;HDFS Transparent Encryption&lt;/A&gt;, then you must create a new encryption zone in HDFS (effectively a new directory) and then&amp;nbsp;copy your HDFS data into it.&amp;nbsp; A lot of people ask "How can I encrypt an existing directory".&amp;nbsp; You would have to perform two extra steps and have plenty of available disk space:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Rename the existing directory in HDFS: "hdfs dfs -mv /data /data.bak"&lt;/P&gt;&lt;P&gt;2. Set up the encryption zone for /data. "hadoop key create &amp;lt;keyname&amp;gt;; hdfs dfs -mkdir /data; hdfs crypto -createZone -keyName &amp;lt;keyname&amp;gt; -path /data"&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Copy the data in /data.bak to /data. "hdfs dfs -cp /data.bak/\* /data/"&lt;/P&gt;&lt;P&gt;4. Remove /data.bak. "hdfs dfs -rm -R /data.bak"&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 03:25:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Navigator-can-not-encrypt-the-old-data-right/m-p/66415#M46032</guid>
      <dc:creator>mjarnold</dc:creator>
      <dc:date>2018-04-17T03:25:53Z</dc:date>
    </item>
  </channel>
</rss>

