try the complete path


qinwei
 From: wxhsdpDate: 2014-04-24 14:21To: userSubject: Re: how to set 
spark.executor.memory and heap sizethank you, i add setJars, but nothing changes
 
    val conf = new SparkConf()
      .setMaster("spark://127.0.0.1:7077")
      .setAppName("Simple App")
      .set("spark.executor.memory", "1g")
      .setJars(Seq("target/scala-2.10/simple-project_2.10-1.0.jar"))
    val sc = new SparkContext(conf)
 
 
 
--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/how-to-set-spark-executor-memory-and-heap-size-tp4719p4732.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to