Guys, we're reinstalling Zeppelin in our HDP 2.5, when we are finishing to install, received this error :
resource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/zeppelin-server/lib/bin/zeppelin-daemon.sh stop >> /var/log/zeppelin/zeppelin-setup.log' returned 127. TERM environment variable not set. -bash: /usr/hdp/current/zeppelin-server/lib/bin/zeppelin-daemon.sh: No such file or directory
Looking at master.py we saw "zeppelin_params.dir" in the place of this problem, in our mind is been valued like :
/usr/hdp/current/zeppelin-server/lib/ -- we know that /lib/ is wrong
How to change zeppelin_params.dir ?
Most probably your ZEPPELIN_HOME environment variable is pointing to
I would recommend fixing that.
You can change the python files but be very careful as ambari will cache these scripts and next installs will look at the cached file. So if you change the master.py file and nothing's changed, look in the cache directory.
Another hassle-free workaround will be to create a symlink of 'bin' in 'lib' directory. But if HOME directory is messed up, other things will start to break.
Hi Umar, we fixed and works, but know it's stoping in another place, seems me the pid is not been created, maybe it is ?
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/ZEPPELIN/package/scripts/master.py", line 235, in <module>
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 709, in restart
File "/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/ZEPPELIN/package/scripts/master.py", line 185, in status
+ status_params.zeppelin_user + '*.pid')
IndexError: list index out of range