Home > other >  Debug the spark in IntelliJ IDEA
Debug the spark in IntelliJ IDEA

Time:09-25

I want on the IDEA of single machine commissioning the PageRank algorithm in the spark, but how do I set the concrete operation of memory and the number of the core, to achieve the purpose of comparison and distributed cluster, consult each Daniel!

CodePudding user response:

Val conf=new SparkConf ()
[n]. SetMaster (" local ")
N order to use the number of core

CodePudding user response:

reference 1st floor chimes298 response:
val conf=new SparkConf ()
[n]. SetMaster (" local ")
N order to use the number of core
how the memory size set?
  • Related