Re: failed to run spark sample on windows

2015-09-30 Thread Renyi Xiong
thanks a lot, it works now after I set %HADOOP_HOME% On Tue, Sep 29, 2015 at 1:22 PM, saurfang wrote: > See > > http://stackoverflow.com/questions/26516865/is-it-possible-to-run-hadoop-jobs-like-the-wordcount-sample-in-the-local-mode > , > https://issues.apache.org/jira/browse/SPARK-6961 and fin

Re: failed to run spark sample on windows

2015-09-29 Thread saurfang
See http://stackoverflow.com/questions/26516865/is-it-possible-to-run-hadoop-jobs-like-the-wordcount-sample-in-the-local-mode, https://issues.apache.org/jira/browse/SPARK-6961 and finally https://issues.apache.org/jira/browse/HADOOP-10775. The easy solution is to download a Windows Hadoop distribut

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 ther

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 org.apache.spark.examples.HdfsTest > > but