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 view capacity-scheduler access fail

Highlighted

Ambari view capacity-scheduler access fail

New Contributor

I have trouble accessing the capacity-scheduler view since I upgrade my Ambari to 2.6.0.0...

When I try to access, ambari try to access to the cluster api : http://hostname:8080/api/v1/clusters/ClusterHortonworks/

My issue is that hostname should be "slnxdoihortonmaster01.ptx.fr.home" but ambari try to access to "slnxdoihortonmaster01"

I don't find where can I change it ! on my "yarn-site.xml" the yarn.resourcemanager.hostname is right !

Did someone have the same trouble and fix it ?

Thanks community

1 REPLY 1
Highlighted

Re: Ambari view capacity-scheduler access fail

Super Mentor

@Sébastien David

You can find the "yarn-site" inside the Ambari UI as following: http://ambarihostname:8080/#/main/services/YARN/configs

Ambari UI --> YARN (Left Panel) --> Configs (Tab) --> Advanced (child Tab) --> "Advanced yarn-site" --> "yarn.resourcemanager.hostname"<br>

After making the changes in the host name you will need to restart the required services showing in the ambari UI as "restart required"

However while specifying hostname (FQDN) there you will need to make sure that the mmentioned hostname should be resolved by all the cluster nodes and from Ambari server. Also better to check and verify the output of the following command on the resource manager host to see if we are getting desired hostname at the host level or not?

# hostname -f

.

Also if you can share the exact error that you are getting while opening the Capacity Scheduler view then that will give us more idea about the issue.

.

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