<?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: can't be moved from encryption zone in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/can-t-be-moved-from-encryption-zone/m-p/213284#M77188</link>
    <description>&lt;P&gt;@Vinit Pandey, for the encrypted files under HDFS encryption zone. They are only allowed to rename within the same encryption zone. You may copy to/from encryption zone which had an additional decrpt (or encrypt) overhead compared with rename.&lt;/P&gt;&lt;P&gt;Please refer to the &lt;A href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#Rename_and_Trash_considerations"&gt; document&lt;/A&gt; for more details:&lt;/P&gt;&lt;P&gt;"HDFS restricts file and directory renames across encryption zone boundaries. This includes renaming an encrypted file / directory into an unencrypted directory (e.g., hdfs dfs mv /zone/encryptedFile /home/bob), renaming an unencrypted file or directory into an encryption zone (e.g., hdfs dfs mv /home/bob/unEncryptedFile /zone), and renaming between two different encryption zones (e.g., hdfs dfs mv /home/alice/zone1/foo /home/alice/zone2). In these examples, /zone, /home/alice/zone1, and /home/alice/zone2 are encryption zones, while /home/bob is not. A rename is only allowed if the source and destination paths are in the same encryption zone, or both paths are unencrypted (not in any encryption zone)."&lt;/P&gt;</description>
    <pubDate>Sat, 14 Apr 2018 06:03:07 GMT</pubDate>
    <dc:creator>xyao</dc:creator>
    <dc:date>2018-04-14T06:03:07Z</dc:date>
    <item>
      <title>can't be moved from encryption zone</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/can-t-be-moved-from-encryption-zone/m-p/213283#M77187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We had logic in which computated file from hdfs path /bigdatahdfs/datalake/raw/prm2/temp/merchant_location_extension/_SUCCESS was moving to /bigdatahdfs/datalake/publish/prm2(external partitioned Parque table is built on top of it) , it was working fine but after recent migration to new server where encryption is enabled, its throwing series of error messages :-&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[INFO] :2018-04-12 10:24:01:Wrapper:Job_name:step001_CDC: Moving Files from /bigdatahdfs/datalake/publish/prm2/merchant_location_extension to /bigdatahdfs/datalake/publish/prm2/archive/merchant_location_extension/20180405
mv: /bigdatahdfs/datalake/raw/prm2/temp/merchant_location_extension/_SUCCESS can't be moved from encryption zone /bigdatahdfs/datalake/raw/prm2 to encryption zone /bigdatahdfs/datalake/publish/prm2.
mv: /bigdatahdfs/datalake/raw/prm2/temp/merchant_location_extension/part-00000-m-00000.snappy.parquet can't be moved from encryption zone /bigdatahdfs/datalake/raw/prm2 to encryption zone /bigdatahdfs/datalake/publish/prm2.
mv: /bigdatahdfs/datalake/raw/prm2/temp/merchant_location_extension/part-00001-m-00001.snappy.parquet can't be moved from encryption zone /bigdatahdfs/datalake/raw/prm2 to encryption zone /bigdatahdfs/datalake/publish/prm2.&lt;/EM&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What all are steps Admin team needs to do , so that user will get privilege to move file to target HDFS directories. As a developer, I am not able to get what configuration is missing.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/can-t-be-moved-from-encryption-zone/m-p/213283#M77187</guid>
      <dc:creator>Vinitkumar</dc:creator>
      <dc:date>2018-04-13T16:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: can't be moved from encryption zone</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/can-t-be-moved-from-encryption-zone/m-p/213284#M77188</link>
      <description>&lt;P&gt;@Vinit Pandey, for the encrypted files under HDFS encryption zone. They are only allowed to rename within the same encryption zone. You may copy to/from encryption zone which had an additional decrpt (or encrypt) overhead compared with rename.&lt;/P&gt;&lt;P&gt;Please refer to the &lt;A href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#Rename_and_Trash_considerations"&gt; document&lt;/A&gt; for more details:&lt;/P&gt;&lt;P&gt;"HDFS restricts file and directory renames across encryption zone boundaries. This includes renaming an encrypted file / directory into an unencrypted directory (e.g., hdfs dfs mv /zone/encryptedFile /home/bob), renaming an unencrypted file or directory into an encryption zone (e.g., hdfs dfs mv /home/bob/unEncryptedFile /zone), and renaming between two different encryption zones (e.g., hdfs dfs mv /home/alice/zone1/foo /home/alice/zone2). In these examples, /zone, /home/alice/zone1, and /home/alice/zone2 are encryption zones, while /home/bob is not. A rename is only allowed if the source and destination paths are in the same encryption zone, or both paths are unencrypted (not in any encryption zone)."&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 06:03:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/can-t-be-moved-from-encryption-zone/m-p/213284#M77188</guid>
      <dc:creator>xyao</dc:creator>
      <dc:date>2018-04-14T06:03:07Z</dc:date>
    </item>
  </channel>
</rss>

