Sorry I was not clear perhaps, anyway, could you try with the path in the
*List* to be the absolute one; e.g.
List("/home/yh/src/pj/spark-stuffs/target/scala-2.10/simple-project_2.10-1.0.jar")

In order to provide a relative path, you need first to figure out your CWD,
so you can do (to be really sure) do:
//before the new SparkContecxt)
println(new java.io.File(".").toUri.toString) // didn't try so adapt to
make scalax happy ^^




On Wed, Apr 2, 2014 at 11:30 PM, yh18190 <yh18...@gmail.com> wrote:

> Hi,
> Here is the sparkcontext feature.Do I need to any more extra jars to slaves
> separetely or this is enough?
> But i am able to see this created jar in my target directory..
>
>  val sc = new SparkContext("spark://spark-master-001:7077", "Simple App",
> utilclass.spark_home,
>               List("target/scala-2.10/simple-project_2.10-1.0.jar"))
>
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Need-suggestions-tp3650p3655.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>

Reply via email to