See code org.apache.hadoop.mapred.FileInputFormat.getSplits().
The block size depends on the implementation of the S3 file system (see FileStatus.getBlockSize()). For instance. S3AFileStatusjust set it equal 0(and then FileInputFormat.computeSplitSize()comes into play).
Also, you don't get partitions if your InputFormat is not shared :)
source
share