I am new to HortonWorks HDP Installation and bump to the following issue when I am trying to start the ambari server. Any respond is appreciated. Currently we are using AWS Red Hat Linux 7.2 as the OS. Not sure if this information is good enough.
I hit this bug too. The patch mentioned makes no sense to me as I am not able to get which exact line needs removing or appending. Still after some struggle, I modified "/usr/sbin/ambari-server.py" as mentioned in patch and when I try to start ambari-server, I face "NameError: global name 'environi' is not defined ". I know I must've made some mistake in updating the file. Is it possible for you to share the modified file here ? So that I can simply download the file and replace it on my test lab and try starting ambari server.
Sorry,I know its too much to ask but any help would be great.Thanks