Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
11-15-2016
01:23 PM
- last edited on
04-21-2026
05:27 AM
by
GrazittiAPI
If a file of size 10 MB is copied on to HDFS of block size 256 MB, then how much storage will be allocated to the file on HDFS ? Let us assume replication factor is 3 so it will occupy (256 MB)*3 on HDFS.Please correct me if i am wrong?
Created 11-15-2016 01:30 PM
no it will occupy 3*10 = 30M on hdfs,HDFS capacity is consumed based on the actual file size but a block is consumed per file
Created 11-15-2016 01:30 PM
no it will occupy 3*10 = 30M on hdfs,HDFS capacity is consumed based on the actual file size but a block is consumed per file
Created 11-15-2016 02:01 PM
ok.In that case 768(256*3)-30=738MB is used for other files or is it waste of memory?
Created 11-15-2016 03:27 PM
@vamsi valiveti rest of the memory is used by other files.