Q&A
Ask and answer questions to make information more available to wider audiences.
Adam Kaicler @kaicleradam   07, Jun 2023 12:00 AM
input splits
If you have an input file of 350 MB, how many input splits would HDFS create and what would be the size of each input split?
answers 1
 
Answer 1
Michaela Samuel @samuelmichaela5   12, Jun 2023 07:28 PM
By default, each block in HDFS is divided into 128 MB. The size of all the blocks, except the last block, will be 128 MB. For an input file of 350 MB, there are three input splits in total. The size of each split is 128 MB, 128MB, and 94 MB.