Custom replication for mrTriplets/Pregel
Specify num blocks for MLlib