randerzander / jupyter-service

Ambari Service definition for an Jupyter (IPython3) Notebook service
42 stars 18 forks source link

Running localhost:9999, Jupyter stops in Ambari #13

Open oniabifo opened 7 years ago

oniabifo commented 7 years ago

Whenever i run localhost:9999 on my host server, Jupyter stops in Ambari, any work around for this?

oniabifo commented 7 years ago

when i check the log, it says

/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/jupyter-service/package/scripts/shell/start.sh: line 8: ipython: command not found

This is the start.sh file

#!/bin/bash                                                                                                                                     
set -eu                                                                                                                                         

START_CMD=$1
LOG=$2
PIDFILE=$3

$START_CMD >> $LOG 2>&1 &                                                                                                                       
echo $! > $PIDFILE

Any help?

nkostop commented 6 years ago

Did you found a solution on this? Thank you!