Re: Problem of submitting Spark task to cluster from eclipse IDE on Windows

2015-12-28 Thread jiml
.setJars(List("C:\\Temp\\test.jar")); val sc = new SparkContext(conf); val textFile = sc.textFile("hdfs://10.20.17.70:9000/wc/indata/wht.txt"); textFile.flatMap(_.split(" ")).map((_, 1)).reduceByKey(_+_).collect().foreach(println); } } -- View thi

?????? Problem of submitting Spark task to cluster from eclipse IDE on Windows

2015-12-23 Thread ????????????
Hokam Singh Chauhan";; : 2015??12??24??(??) ????10:54 ??????: "Akhil Das"; : "user"; "????"; : Re: Problem of submitting Spark task to cluster from eclipse IDE on Windows Hi, Use spark://hostname:7077 as spark master if you are using I

Re: Problem of submitting Spark task to cluster from eclipse IDE on Windows

2015-12-23 Thread Hokam Singh Chauhan
ala >> WordCount").setMaster("spark://10.20.17.70:7077 >> ").setJars(List("C:\\Temp\\test.jar")); >> val sc = new SparkContext(conf); >> val textFile = sc.textFile("hdfs://10.20.17.70:9000/wc/indata/wht.txt >> "); >> t

Re: Problem of submitting Spark task to cluster from eclipse IDE on Windows

2015-12-23 Thread Akhil Das
clipse-scala plugin. > (2) run spark-submit on the SparkPi examle by specifying the --master > param to "10.20.17.70:7077", and it successfully worked out the result. I > was also able to see the application history on the Master's Web UI. > (3) I turned off the

Problem of submitting Spark task to cluster from eclipse IDE on Windows

2015-12-22 Thread superbee84
turned off the firewall on my Windows machine. Unfortunately, the error message remains. Could anybody give me some suggestions ? Thanks very much! Yours Sincerely, Yefeng -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Problem-of-submitting-Spark-task-to-