You might also want to see if TaskScheduler helps with that. I have not
used it with Windows 2008 R2 but it generally does allow you to schedule a
bat file to run on startup
On Wed, Mar 11, 2015 at 10:16 AM, Wang, Ningjun (LNG-NPV)
ningjun.w...@lexisnexis.com wrote:
Thanks for the suggestion.
Thanks for the suggestion. I will try that.
Ningjun
From: Silvio Fiorito [mailto:silvio.fior...@granturing.com]
Sent: Wednesday, March 11, 2015 12:40 AM
To: Wang, Ningjun (LNG-NPV); user@spark.apache.org
Subject: Re: Is it possible to use windows service to start and stop spark
standalone
Have you tried Apache Daemon?
http://commons.apache.org/proper/commons-daemon/procrun.html
From: Wang, Ningjun (LNG-NPV)
Date: Tuesday, March 10, 2015 at 11:47 PM
To: user@spark.apache.orgmailto:user@spark.apache.org
Subject: Is it possible to use windows service to start and stop spark
We are using spark stand alone cluster on Windows 2008 R2. I can start spark
clusters by open an command prompt and run the following
bin\spark-class.cmd org.apache.spark.deploy.master.Master
bin\spark-class.cmd org.apache.spark.deploy.worker.Worker
spark://mywin.mydomain.com:7077
I can stop