Automating the start of INDEXIMA Cluster
This script starts the INDEXIMA cluster and protects the process even when as user disconnects from the session.
Make sure you purge the nohup.out file regularly when running the command to free up disk space.
nohup.out is a log file without the log rotate mechanism to keep the log size affordable.
This is a script you can use to start Visualdoop, or Galactica in standalone mode:
go.sh
BASH
# cat go.sh
#!/bin/sh
rm -rf nohup.out
nohup ./start-yarn.sh $@ &
tail -f nohup.out
echo "--- started ---"