DELETE rows in table, how HDFS file size is impacted ?
Hello.
Before deleting rows in a specific table (463,462 rows in table), HDFS file size is :
$ hadoop fs -du -s -h /apps/hive/warehouse/prd_thmil.db/th_mil_fb_code_value_brut
54.2 M 162.6 M /apps/hive/warehouse/prd_thmil.db/th_mil_fb_code_value_brut
54.2 Mb is the size of 1 file and each file is replicated 2 times so 162.6 Mb is the total size, it OK.
But after deleting more than 450,000 rows in the table (12,890 rows remaining after the DELETE), the file size didn't change at all.
Is it normal ? When new rows are added in the table, file size won't grow and HDFS will 'overwrite' older data with the new one ?
Regards

