Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Zeppelin Reinstal on HDP 2.5


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/ stop >> /var/log/zeppelin/zeppelin-setup.log' returned 127. TERM environment variable not set. -bash: /usr/hdp/current/zeppelin-server/lib/bin/ No such file or directory


Looking at 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 ?


Expert Contributor

Most probably your ZEPPELIN_HOME environment variable is pointing to


instead of


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 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/", line 235, in <module>


File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 280, in execute


File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 709, in restart


File "/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/ZEPPELIN/package/scripts/", line 185, in status

+ status_params.zeppelin_user + '*.pid')[0]

IndexError: list index out of range

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.