Hadoop easy learn tips - How to clean Trash in HDFS?
How to clean TRASH?
Remember, if user is deleted data from HDFS, that data sometimes cannot be removed completely, instead moves to trash. Empty trash is done be simple hadoop command.
hadoop fs -expunge
Note: we cannot see the files in the trash of HDFS, but we can do delete all the files in trash.
0 comments:
Post a Comment