Created 12-09-2016 11:10 AM
I have used an alias for ambari server but when i try to launch yarn queue manager, it is expecting certificate for actual hostname. Also i have attached the logs , if that helps.
Created 02-16-2017 04:58 PM
I had a similar issue recently and while the Ambari YARN Queue Manager View doesn't offer a configurable URL, a workaround I found was to add the cluster as a Remote Cluster (using the alias URL when defining the Ambari Cluster URL) and then point the View to the remote cluster.
This seemed to work just fine.
Created 12-12-2016 06:26 PM
Seems like you have enabled https for YARN components, can you please check if the certificate has corresponding correct hostnames? after that make sure to have root cert configured in Ambari server's Truststore.
Created 12-12-2016 07:54 PM
@apappu So I have enabled ssl for yarn plugin for ranger. And I am using alias for ambari server for which i have store a certificate i keystore
Created 12-12-2016 09:24 PM
Created 12-12-2016 09:36 PM
The below link should resolve your problem
Root Cause of the Exception: java.security.cert.CertificateException: No name matching host found
Created 12-13-2016 07:34 AM
@Geoffrey Shelton Okot @apappu
Thank you guys for the response and I completely agree with your answer.
I have an Ambari on rdeluhxxxxx.rz-c007-j650.xx-xx.xx which has an alias as ambari.xyz.com and I have created the certificate with the alias (ambari.xyz.com). But queue manager is expecting cert for that hostname (rdeluhxxxxx.rz-c007-j650.xx-xx.xx).
So is there any property where I can change this ?
Created 02-16-2017 04:58 PM
I had a similar issue recently and while the Ambari YARN Queue Manager View doesn't offer a configurable URL, a workaround I found was to add the cluster as a Remote Cluster (using the alias URL when defining the Ambari Cluster URL) and then point the View to the remote cluster.
This seemed to work just fine.