hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juil cho <tjst...@kgrid.co.kr>
Subject Why not remove the block on the disk if the snapshot?
Date Wed, 20 Aug 2014 06:22:46 GMT
 
hadoop version 2.4.1.
 
I have tested the snapshot. 
 
1. upload file,  /tmp/test.avi
2. create snapshot, /tmp snap1
3. delete file, /tmp/test.avi
4. moved to the Trash, /user/hadoop/.Trash/tmp/test.avi
5. file deleted in trash.
6. but, blocks is not deleted in datanode disk. why??
7. delete snapshot(snap1)
8. blocks is deleted in datanode disk. why???
 
I do not understand. Why not remove the block on the disk if the snapshot? 
 
Mime
View raw message