Why do you need to cast the integers to JInt? I think you can use Scala's format method instead of Java's and just pass ints. Just do `"RDD %s (%d), ...".format(id, storageLevel, etc)`.