code: public static <T, U> JavaPairRDD<T, U>[] balancedRandomSplit(int totalObjectCount, int numObjectsPerSplit,
                      JavaPairRDD<T, U> data) {
          return balancedRandomSplit(totalObjectCount, numObjectsPerSplit, data, new Random().nextLong());
      }
docs: Equivalent to {@link #balancedRandomSplit(int, int, JavaRDD)} but for Pair RDDs