GitHub user nlalevee opened a pull request:
https://github.com/apache/spark/pull/733
Add init script to the debian packaging
This patch add init scripts to the debian packaging
The debian package has been renamed to apache-spark because a package spark
already exists:
http://packages.ubuntu.com/trusty/spark
I'm not an expert in init script, most of the code has been inspired by the
ones for elasticsearch and cassandra.
It seems that usual init script relies on a predefined function
start-stop-daemon. Since the daemonization is already handled by spark's
scripts, in order to avoid a refactoring, I tried to make the best of not
modifying much spark scripts.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nlalevee/spark deb-init-scripts
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/733.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #733
----
commit edc56ef3785cc1583e2090f0fc8843d5bfffc276
Author: Nicolas LaleveÌe <[email protected]>
Date: 2014-05-10T15:54:08Z
Add init scripts into the debian packaging
commit e9acf5357c971ee92bfb676aeaddff1ced7085c1
Author: Nicolas LaleveÌe <[email protected]>
Date: 2014-05-10T16:07:34Z
rename debian package to avoid conflict with the existing one
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---