Skip to main content
Skip table of contents

isrunning.sh

This script checks if the Indexima Admin Console and the Indexima node are running.

isrunning.sh

BASH
# cat isrunning.sh

# !/bin/sh
echo "Checking if Visualdoop is running..."
echo ps -ef | grep [c]om.visualdoop.VisualDoop | awk '{ print $Extra close brace or missing open brace2 }'
ps aux | grep visualdoop | grep -v grep
echo ""
echo "Checking if Galactica is running..."
echo ps -ef | grep [c]om.galactica.Galactica | awk '{ print $2 }'
ps aux | grep galactica | grep -v grep
echo ""

Example of isrunning.sh execution

example

BASH
# ./isrunning.sh
Checking if Visualdoop is running...
root     16367  0.0  0.0 113180  2728 ?        S    Jan20   0:00 /bin/sh ./start-visualdoop.sh
root     16369  0.0  0.9 12193672 314280 ?     Sl   Jan20   6:06 /usr/jdk64/jdk1.8.0_112/bin/java -cp :lib/*:driver/* com.visualdoop.VisualDoop visualdoop-webapp-1.6.8.380.2.war

Checking if Galactica is running...

hive      2317  0.4  0.6 1836876 207300 ?      Sl   Jan20  34:39 /usr/jdk64/jdk1.8.0_112/bin/java -Xms32m -Xmx32m -XX:+UseConcMarkSweepGC -cp ./lib/joda-time-2.9.4.jar:./lib/snappy-0.3.jar:lib/*:conf:indexima-core-1.6.8.380.2.jar:/usr/hdp/2.6.5.0-292/hadoop/conf:/usr/hdp/2.6.5.0-292/hadoop/conf:/usr/hdp/2.6.5.0-292/hadoop/conf:/usr/hdp/2.6.5.0-292/hadoop/lib/*:/usr/hdp/2.6.5.0-292/hadoop/.//*:/usr/hdp/2.6.5.0-292/hadoop-hdfs/./:/usr/hdp/2.6.5.0-292/hadoop-hdfs/lib/*:/usr/hdp/2.6.5.0-292/hadoop-hdfs/.//*:/usr/hdp/2.6.5.0-292/hadoop-yarn/lib/*:/usr/hdp/2.6.5.0-292/hadoop-yarn/.//*:/usr/hdp/2.6.5.0-292/hadoop-mapreduce/lib/*:/usr/hdp/2.6.5.0-292/hadoop-mapreduce/.//*::postgresql-42.2.5.jar:/usr/hdp/2.6.5.0-292/tez/*:/usr/hdp/2.6.5.0-292/tez/lib/*:/usr/hdp/2.6.5.0-292/tez/conf:/usr/hdp/2.6.5.0-292/hadoop-yarn/.//*:/usr/hdp/2.6.5.0-292/hadoop-yarn/lib/* io.galactica.yarn.GaYarn --master
hive      2818  0.2  5.0 9487228 1668536 ?     Sl   Feb20  21:21 /usr/jdk64/jdk1.8.0_112/bin/java -Xms7200m -Xmx7200m -Xss512k -cp ./lib/joda-time-2.9.4.jar:./lib/snappy-0.3.jar:lib/*:datascience/*:conf:web:indexima-core-1.6.8.380.2.jar:galactica-datascience-1.6.8.380.2.jar:/usr/hdp/2.6.5.0-292/hadoop/conf:/usr/hdp/2.6.5.0-292/hadoop/conf:/usr/hdp/2.6.5.0-292/hadoop/conf:/usr/hdp/2.6.5.0-292/hadoop/lib/*:/usr/hdp/2.6.5.0-292/hadoop/.//*:/usr/hdp/2.6.5.0-292/hadoop-hdfs/./:/usr/hdp/2.6.5.0-292/hadoop-hdfs/lib/*:/usr/hdp/2.6.5.0-292/hadoop-hdfs/.//*:/usr/hdp/2.6.5.0-292/hadoop-yarn/lib/*:/usr/hdp/2.6.5.0-292/hadoop-yarn/.//*:/usr/hdp/2.6.5.0-292/hadoop-mapreduce/lib/*:/usr/hdp/2.6.5.0-292/hadoop-mapreduce/.//*::postgresql-42.2.5.jar:/usr/hdp/2.6.5.0-292/tez/*:/usr/hdp/2.6.5.0-292/tez/lib/*:/usr/hdp/2.6.5.0-292/tez/conf:/usr/hdp/2.6.5.0-292/hadoop-yarn/.//*:/usr/hdp/2.6.5.0-292/hadoop-yarn/lib/* io.galactica.server.NodeServer --yarn --master
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.