In other words, all RDDs (including  custom RDD ) have continuous index space. This condition is mandatory (now not verified).