What is the purpose of the 'trash' feature in HDFS?
Answer
To temporarily store deleted files, allowing for recovery
Explanation
The HDFS trash feature allows deleted files to be moved to a special '.Trash' directory for a configurable period, providing a mechanism to recover accidentally deleted data.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
What is an 'action' in Spark (e.g., count, collect, save)?
View question →
What is the purpose of the 'OutputFormat' in MapReduce?
View question →
Which YARN scheduler aims to maximize cluster utilization by running jobs as soon as resources are available?
View question →
Which of the following describes the 'schema-on-read' approach?
View question →
To connect Sqoop to a MySQL database, what information is typically required?
View question →
Which command is used to load data into a Hive table from an HDFS path?
View question →