Adding the map reduce for the same rating layer using Apache Spark