Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari Custom Stack : Add Service hangs at "Assign Slaves and Clients Step"

Highlighted

Ambari Custom Stack : Add Service hangs at "Assign Slaves and Clients Step"

New Contributor

Hi,

I am working on developing a custom stack which extends HDP 2.6 stack and replaces HDFS with HCFS Service.

Followed the following tutorials, (ECS Stack) to develop this stack:

1. https://cwiki.apache.org/confluence/display/AMBARI/Defining+a+Custom+Stack+and+Services

2. https://github.com/apache/ambari/tree/trunk/ambari-server/src/main/resources/stacks/HDP/2.3.ECS

I can successfully install all the services using the Launch Install Wizard initially after installing the ambari server.

But when I try to add a new service in this installed cluster through Add Service UI, the Installation hangs at Assign Slaves and Clients Page, it shows white screen without any hosts to select and that's why I cannot proceed with the installation.

I checked the ambari server logs, it shows errors related to stack advisor script i.e. it cannot find stack-advisor.py.

So I tried to add stack-advisor.py script extending HDP 2.6 stack-advisor script but still, the same problem arises in the UI.

Thanks

This is the ambari-server.log snippet

5 Jun 2018 06:23:04,783  INFO [ambari-client-thread-1183] StackAdvisorRunner:71 
- advisor script stderr: Traceback (most recent call last):
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py",line 153, in instantiateStackAdvisor
 with open(path, 'rb') as fp:
IOError: [Errno 2] No such file or directory: '/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.6.MYFS/services/stack_advisor.py        

77558-ambari-add-service.png

Don't have an account?
Coming from Hortonworks? Activate your account here