Suppose there is file of size 514 mb stored in hdfs (hadoop 2.x) using default block size configuration and default replication factor. Then, how many blocks will be created in total and what will be the size of each block?
Answer Posted / Vicky Sharma
The number of blocks created depends on the block size configuration, which is by default 128 MB for Hadoop 2.x. Since the file size is 514 MB, there will be approximately 4 blocks created (rounded down due to the default block size). The size of each block will be 128 MB.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category