Re: failed to run spark sample on windows

2015-09-30 Thread Renyi Xiong
w this message in context: > http://apache-spark-developers-list.1001551.n3.nabble.com/failed-to-run-spark-sample-on-windows-tp14393p14407.html > Sent from the Apache Spark Developers List mailing list archive at > Nabble.com. > > -

Re: failed to run spark sample on windows

2015-09-29 Thread Renyi Xiong
not sure, so downloaded again release 1.4.1 with Hadoop 2.6 and later options from http://spark.apache.org/downloads.html assuming the version is consistent and run the following on Windows 10 c:\spark-1.4.1-bin-hadoop2.6>bin\run-example HdfsTest still got similar exception below: (I heard

Re: failed to run spark sample on windows

2015-09-29 Thread saurfang
distribution and point %HADOOP_HOME% to that location so winutils.exe can be picked up. -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/failed-to-run-spark-sample-on-windows-tp14393p14407.html Sent from the Apache Spark Developers List mailing list archive

failed to run spark sample on windows

2015-09-28 Thread Renyi Xiong
I tried to run HdfsTest sample on windows spark-1.4.0 bin\run-sample org.apache.spark.examples.HdfsTest but got below exception, any body any idea what was wrong here? 15/09/28 16:33:56.565 ERROR SparkContext: Error initializing SparkContext. java.lang.NullPointerException at

Re: failed to run spark sample on windows

2015-09-28 Thread Ted Yu
What version of hadoop are you using ? Is that version consistent with the one which was used to build Spark 1.4.0 ? Cheers On Mon, Sep 28, 2015 at 4:36 PM, Renyi Xiong wrote: > I tried to run HdfsTest sample on windows spark-1.4.0 > > bin\run-sample