radanalyticsio / openshift-spark

72 stars 83 forks source link

Run tini as pid 1 so that catches and forwards signals #37

Closed tmckayus closed 6 years ago

tmckayus commented 6 years ago

The launch.sh script does a small amount of work and then execs the spark process with no long waits. Therefore, as long as tini forwards signals, either bash or spark should receive a SIGTERM and shut down quickly.