Delete Files from an Encryption Zone
You cannot move data from an Encryption Zone to a global Trash bin outside of the encryption zone.
To delete files from an encryption zone, use one of the following approaches:
When deleting the file via CLI, use the
-skipTrash
option. For example:hdfs dfs -rm /zone_name/file1 -skipTrash
When deleting the file via CLI, use the
-skipTrash
option. For example:hdfs dfs -rm /zone_name/file1 -skipTrash
(Hive only) Use PURGE, as in
DROP TABLE ... PURGE
. This skips the Trash bin even if the trash feature is enabled.