I am trying to understand the how the partitions in sparks works for NON KEY VALUE pair records. The commands are as follows
val FileRDD= sc.textFile("hdfs://nameservice1:8020/apps/file/outbound/terms/processed/HDFC_outbound/HDFC_EXTRACT_604/HDFC_RBI_20180205.dat");
The file size is 512 bytes. I have not configured any partitions also, partitioner=NONE. when I give the command FileRDD.partitions.size, I am getting 2 partitions. I would like to understand how there are two partitions.