<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: yarn queue manager error: Couldn't connect to the cluster RA040 I/O error while requesting Ambari.... in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/327244#M76015</link>
    <description>&lt;PRE&gt;To resolve the issue, import the Ambari certificates to the Ambari truststore. To import the Ambari certificates, do the following: 

STEP 1: 
Get certificate from ambari-server 
echo | openssl s_client -showcerts -connect &amp;lt;AMBARI_HOst&amp;gt;:&amp;lt;AMBARI_HTTPs_PORT&amp;gt; 2&amp;gt;&amp;amp;1 | sed --quiet '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' &amp;gt; /tmp/ambari_certificate.cr 

STEP 2: 
Get path of ambari trustore and truststore password from Ambari properties 
cat /etc/ambari-server/conf/ambari.properties |grep truststore 

As per your ambari.properties below is the path and password :-
ssl.trustStore.password=refer from ambari.property file
ssl.trustStore.path=/etc/ambari-server/conf/ambari-server-truststore

STEP 3: 
keytool -importcert -file /tmp/ambari_certificate.crt -keystore &amp;lt;keystore-path&amp;gt; 

STEP 4: 
ambari-server restart&lt;/PRE&gt;</description>
    <pubDate>Mon, 11 Oct 2021 15:25:43 GMT</pubDate>
    <dc:creator>Kartik_Agarwal</dc:creator>
    <dc:date>2021-10-11T15:25:43Z</dc:date>
    <item>
      <title>yarn queue manager error: Couldn't connect to the cluster RA040 I/O error while requesting Ambari....</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187894#M76011</link>
      <description>&lt;P&gt;when i try to acess yarn queue manager it is showing below error&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/64643-error.txt"&gt;error.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to solve this issue.&lt;/P&gt;&lt;H3&gt;Couldn't connect to the cluster&lt;/H3&gt;&lt;P&gt;RA040 I/O error while requesting Ambari&lt;/P&gt;&lt;P&gt;&lt;A href="https://172.22.2.136:8444/views/CAPACITY-SCHEDULER/1.0.0/AUTO_CS_INSTANCE/#trace"&gt;TRACE &lt;/A&gt;&lt;/P&gt;&lt;PRE&gt; org.apache.ambari.view.utils.ambari.AmbariApiException: RA040 I/O error while requesting Ambari&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.view.utils.ambari.AmbariApi.requestClusterAPI(AmbariApi.java:106)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.view.utils.ambari.AmbariApi.requestClusterAPI(AmbariApi.java:77)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.view.capacityscheduler.ConfigurationService.readFromCluster(ConfigurationService.java:340)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.view.capacityscheduler.ConfigurationService.readClusterInfo(ConfigurationService.java:156)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.reflect.GeneratedMethodAccessor2590.invoke(Unknown Source)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/PRE&gt;
&lt;PRE&gt;  at java.lang.reflect.Method.invoke(Method.java:497)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)&lt;/PRE&gt;
&lt;PRE&gt;  at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)&lt;/PRE&gt;
&lt;PRE&gt;  at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1507)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(AmbariAuthorizationFilter.java:287)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.security.authentication.AmbariDelegatingAuthenticationFilter.doFilter(AmbariDelegatingAuthenticationFilter.java:132)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.security.authorization.AmbariUserAuthorizationFilter.doFilter(AmbariUserAuthorizationFilter.java:91)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)&lt;/PRE&gt;
&lt;PRE&gt;  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.java:72)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.view.AmbariViewsMDCLoggingFilter.doFilter(AmbariViewsMDCLoggingFilter.java:54)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.view.ViewThrottleFilter.doFilter(ViewThrottleFilter.java:161)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:125)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:125)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:427)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:212)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:201)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java:150)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.Server.handle(Server.java:370)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:973)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1035)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:641)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:231)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&lt;/PRE&gt;
&lt;PRE&gt;  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&lt;/PRE&gt;
&lt;PRE&gt;  at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt;
&lt;PRE&gt;Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)&lt;/PRE&gt;
&lt;PRE&gt;  at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.controller.internal.URLStreamProvider.processURL(URLStreamProvider.java:218)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.view.ViewAmbariStreamProvider.getInputStream(ViewAmbariStreamProvider.java:123)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.server.view.ViewAmbariStreamProvider.readFrom(ViewAmbariStreamProvider.java:85)&lt;/PRE&gt;
&lt;PRE&gt;  at org.apache.ambari.view.utils.ambari.AmbariApi.requestClusterAPI(AmbariApi.java:103)&lt;/PRE&gt;
&lt;PRE&gt;  ... 102 more&lt;/PRE&gt;
&lt;PRE&gt;Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.validator.Validator.validate(Validator.java:260)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1488)&lt;/PRE&gt;
&lt;PRE&gt;  ... 119 more&lt;/PRE&gt;
&lt;PRE&gt;Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)&lt;/PRE&gt;
&lt;PRE&gt;  at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)&lt;/PRE&gt;
&lt;PRE&gt;  at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)&lt;/PRE&gt;
&lt;PRE&gt;  ... 125 more&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Mar 2018 00:02:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187894#M76011</guid>
      <dc:creator>sai23</dc:creator>
      <dc:date>2018-03-17T00:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: yarn queue manager error: Couldn't connect to the cluster RA040 I/O error while requesting Ambari....</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187895#M76012</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70431/mkannachinnari.html" nodeid="70431"&gt;@kanna k&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try to set below parameters, hope it should work:&lt;/P&gt;&lt;P&gt;add to ambari.properties:&lt;BR /&gt;&lt;BR /&gt;client.threadpool.size.max = 50 &lt;BR /&gt;&lt;BR /&gt;and then ambari-server restart&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 01:12:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187895#M76012</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2018-03-18T01:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: yarn queue manager error: Couldn't connect to the cluster RA040 I/O error while requesting Ambari....</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187896#M76013</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70431/mkannachinnari.html" nodeid="70431"&gt;@kanna k&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you have configured HTTPS for you ambari server and accessing ambari server using HTTPS. And you do not have ambari truststore configured with the ambari certificate imported to it. Hence you are getting the following error:&lt;/P&gt;&lt;PRE&gt;Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In order to resolve this issue:&lt;/STRONG&gt; You case you will need to Ambari certificates to the Ambari truststore.&lt;/P&gt;&lt;P&gt;1. Setup Ambari Truststore as described in:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-security/content/set_up_truststore_for_ambari_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-security/content/set_up_truststore_for_ambari_server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Get the Ambari certificate as following:&lt;/P&gt;&lt;PRE&gt;# echo | openssl s_client -showcerts -connect &amp;lt;AMBARI_HOST&amp;gt;:&amp;lt;AMBARI_HTTPS_PORT&amp;gt; 2&amp;gt;&amp;amp;1 | sed --quiet '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' &amp;gt; /tmp/ambari_certificate.crt&lt;/PRE&gt;&lt;P&gt;3. Suppose if your ambari truststore file name is "truststore.jks" then import the ambari_certificate to it as following:&lt;/P&gt;&lt;PRE&gt;# $JAVA_HOME/bin/keytool -importcert -file /tmp/ambari_certificate.crt -keystore truststore.jks&lt;/PRE&gt;&lt;P&gt;4. Restart Ambari Server.&lt;/P&gt;&lt;P&gt;5. Access the CS view again.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 04:26:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187896#M76013</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-18T04:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: yarn queue manager error: Couldn't connect to the cluster RA040 I/O error while requesting Ambari....</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187897#M76014</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70431/mkannachinnari.html" nodeid="70431"&gt;@kanna k&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also please refer to:  &lt;A href="https://community.hortonworks.com/content/supportkb/150265/errorpkix-path-building-failed-sunsecurityprovider.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/150265/errorpkix-path-building-failed-sunsecurityprovider.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70431/mkannachinnari.html" nodeid="70431"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 18 Mar 2018 04:26:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/187897#M76014</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-18T04:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: yarn queue manager error: Couldn't connect to the cluster RA040 I/O error while requesting Ambari....</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/327244#M76015</link>
      <description>&lt;PRE&gt;To resolve the issue, import the Ambari certificates to the Ambari truststore. To import the Ambari certificates, do the following: 

STEP 1: 
Get certificate from ambari-server 
echo | openssl s_client -showcerts -connect &amp;lt;AMBARI_HOst&amp;gt;:&amp;lt;AMBARI_HTTPs_PORT&amp;gt; 2&amp;gt;&amp;amp;1 | sed --quiet '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' &amp;gt; /tmp/ambari_certificate.cr 

STEP 2: 
Get path of ambari trustore and truststore password from Ambari properties 
cat /etc/ambari-server/conf/ambari.properties |grep truststore 

As per your ambari.properties below is the path and password :-
ssl.trustStore.password=refer from ambari.property file
ssl.trustStore.path=/etc/ambari-server/conf/ambari-server-truststore

STEP 3: 
keytool -importcert -file /tmp/ambari_certificate.crt -keystore &amp;lt;keystore-path&amp;gt; 

STEP 4: 
ambari-server restart&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Oct 2021 15:25:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/yarn-queue-manager-error-Couldn-t-connect-to-the-cluster/m-p/327244#M76015</guid>
      <dc:creator>Kartik_Agarwal</dc:creator>
      <dc:date>2021-10-11T15:25:43Z</dc:date>
    </item>
  </channel>
</rss>

