<?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: HDFS KMS encryption on the existing hdfs directory in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301792#M220851</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75200"&gt;@Mondi&lt;/a&gt;&amp;nbsp;I guess yes. The encryption will take place in subdirectories as well. See the blog post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.cloudera.com/new-in-cdh-5-3-transparent-encryption-in-hdfs/" target="_blank"&gt;https://blog.cloudera.com/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;Though you can just give it a try my making any test file/dir.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Aug 2020 19:12:51 GMT</pubDate>
    <dc:creator>GangWar</dc:creator>
    <dc:date>2020-08-22T19:12:51Z</dc:date>
    <item>
      <title>HDFS KMS encryption on the existing hdfs directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301586#M220756</link>
      <description>&lt;P&gt;Hi I've checked this procedure in cloudera on how to validate the encryption of my KMS and HDFS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a zone and link to the key.&lt;/P&gt;&lt;P&gt;su hdfs hdfs crypto -createZone -keyName mykey1 -path /tmp/zone1 Create a file, put it in your zone and ensure the file can be decrypted.&lt;/P&gt;&lt;P&gt;su echo "Hello World" &amp;gt; /tmp/helloWorld.txt&lt;/P&gt;&lt;P&gt;hadoop fs -put /tmp/helloWorld.txt /tmp/zone1&lt;/P&gt;&lt;P&gt;hadoop fs -cat /tmp/zone1/helloWorld.txt rm /tmp/helloWorld.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just want to ask, i have an existing hdfs directory there that I want to encrypt, my questions are below:&lt;/P&gt;&lt;P&gt;1. Can I encrypt and existing hdfs directory using this command hdfs crypto -createZone -keyName mykey1 -path /tmp/zone1?&lt;/P&gt;&lt;P&gt;2. if I encrypt the hdfs directory, does the encryption implemented on its sub directories and files under it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 09:41:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301586#M220756</guid>
      <dc:creator>Mondi</dc:creator>
      <dc:date>2020-08-17T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS KMS encryption on the existing hdfs directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301792#M220851</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75200"&gt;@Mondi&lt;/a&gt;&amp;nbsp;I guess yes. The encryption will take place in subdirectories as well. See the blog post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.cloudera.com/new-in-cdh-5-3-transparent-encryption-in-hdfs/" target="_blank"&gt;https://blog.cloudera.com/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;Though you can just give it a try my making any test file/dir.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Aug 2020 19:12:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301792#M220851</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2020-08-22T19:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS KMS encryption on the existing hdfs directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301945#M220934</link>
      <description>&lt;P&gt;You cannot perform an in-place encryption of an existing directory.&lt;/P&gt;&lt;P&gt;You need to create an encryption zone and move data to the encryption zone.&lt;/P&gt;&lt;P&gt;Here's the &lt;A href="https://docs.cloudera.com/documentation/enterprise/5-12-x/topics/cdh_admin_distcp_secure_insecure.html" target="_self"&gt;docs&lt;/A&gt; with the procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:26:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-KMS-encryption-on-the-existing-hdfs-directory/m-p/301945#M220934</guid>
      <dc:creator>Mike in Austin</dc:creator>
      <dc:date>2020-08-26T16:26:38Z</dc:date>
    </item>
  </channel>
</rss>

