Guest User

Untitled

a guest
Oct 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. val numPartitions = numSlaveNodes * numExecutorsPerNode * numCoresPerExecutor
  2. val myRDD = sparkContext.parallelize(myCollection, numPartitions)
  3.  
  4. sparkSession.conf.get("spark.executor.cores").toInt
Add Comment
Please, Sign In to add comment