Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Services won't restart after upgrading Ambari to 2.4.0.1

avatar
Super Collaborator

Hello

We've upgraded Ambari from 2.1.2.1 to 2.4.0.1 according to the the upgrade guide http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-upgrade/content/ambari_upgrade_gui...

The entire process was successful and was performed according to the guide.

After starting the Ambari i'm able to login and there is a restart indicator near every service (according to point 14 in the guide) http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-upgrade/content/upgrade_ambari.htm...

However - the services won't start \ restart at all. Every service fails with the same error: resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/bin/conf-select set-conf-dir --package hadoop --stack-version 2.3.2.0-2950 --conf-version 0' returned 1. /usr/hdp/2.3.2.0-2950/hadoop/conf does not exist

Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-2602.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-2602.json', 'INFO', '/var/lib/ambari-agent/tmp']

Any ideas ?

Is this a known bug i missed ??

7585-snap-2016-09-13-at-170522.png

7586-snap-2016-09-13-at-170539.png

7587-snap-2016-09-13-at-170552.png

1 ACCEPTED SOLUTION

avatar

@Adi Jabkowsky

Do you have a symlink inside the "/usr/hdp/2.3.2.0-2950/hadoop/" directory with name "conf" pointing to "/etc/hadoop/2.3.2.0-2950/0" ?

If not then can you create a symlink inside the "/usr/hdp/2.3.2.0-2950/hadoop/" pointing to it like following and then try again:

lrwxrwxrwx.  1 root root        12 Sep 18 06:33 conf -> /etc/hadoop/2.3.2.0-2950/0 

View solution in original post

2 REPLIES 2

avatar

@Adi Jabkowsky

Do you have a symlink inside the "/usr/hdp/2.3.2.0-2950/hadoop/" directory with name "conf" pointing to "/etc/hadoop/2.3.2.0-2950/0" ?

If not then can you create a symlink inside the "/usr/hdp/2.3.2.0-2950/hadoop/" pointing to it like following and then try again:

lrwxrwxrwx.  1 root root        12 Sep 18 06:33 conf -> /etc/hadoop/2.3.2.0-2950/0 

avatar
Super Collaborator

Thank you ! It was the missing link !