Re: Re: how to set spark.executor.memory and heap size

2014-04-24 Thread wxhsdp
i tried, but no effect


Qin Wei wrote
> 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.





--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/how-to-set-spark-executor-memory-and-heap-size-tp4719p4736.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.


Re: Re: how to set spark.executor.memory and heap size

2014-04-23 Thread qinwei






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.