Пример #1
0
 /// <summary>
 /// The master URL to connect to, such as "local" to run locally with one thread, "local[4]" to
 /// run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster.
 /// </summary>
 /// <param name="master">Spark master</param>
 public SparkConf SetMaster(string master)
 {
     sparkConfProxy.SetMaster(master);
     logger.LogInfo("Spark master set to {0}", master);
     return(this);
 }
Пример #2
0
 /// <summary>
 /// The master URL to connect to, such as "local" to run locally with one thread, "local[4]" to
 /// run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster.
 /// </summary>
 /// <param name="master">Spark master</param>
 public SparkConf SetMaster(string master)
 {
     sparkConfProxy.SetMaster(master);
     return(this);
 }