Hi Jacek,

To run a spark master on my windows box, I've created a .bat file with contents 
something like:

.\bin\spark-class.cmd org.apache.spark.deploy.master.Master --host <my_pc>


For the worker:

.\bin\spark-class.cmd org.apache.spark.deploy.worker.Worker spark://<mypc>:7077


To wrap these in services, I've user yasw or nssm.

Thanks,
Tim




-----Original Message-----
From: Jacek Laskowski [mailto:ja...@japila.pl] 
Sent: Tuesday, 1 December 2015 4:18 AM
To: Shuo Wang
Cc: user
Subject: Re: Cant start master on windows 7

On Fri, Nov 27, 2015 at 4:27 PM, Shuo Wang <shuo.x.w...@gmail.com> wrote:

> I am trying to use the start-master.sh script on windows 7.

From http://spark.apache.org/docs/latest/spark-standalone.html:

"Note: The launch scripts do not currently support Windows. To run a
Spark cluster on Windows, start the master and workers by hand."

Can you start the command by hand? Just copy and paste the command
from the logs. Mind the spaces!

Jacek

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org


_____________________________________________________________________

The information transmitted in this message and its attachments (if any) is 
intended 
only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance 
upon this information, by persons or entities other than the intended recipient 
is 
prohibited.

If you have received this in error, please contact the sender and delete this 
e-mail 
and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute 
the information contained in this e-mail and any attached files, with the 
permission 
of the sender.

This message has been scanned for viruses.
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to