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