<?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 Ambari is unable to fetch Host Components in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142901#M48291</link>
    <description>&lt;H4&gt;
	Ambari is not able to load service details for all the components like (Hbase,hdfs,zookeeper etc.) after upgrading Ambari from 2.1.2 to 2.4.2. The error found in ambari-server logs is,&lt;/H4&gt;&lt;P&gt;&lt;EM&gt;22:43:27,505 WARN [ambari-client-thread-2495] ServletHandler:561 - Error Processing URI: /api/v1/clusters/&amp;lt;CLUSTER_NAME&amp;gt;/host_components - (java.lang.ArrayIndexOutOfBoundsException) 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;
	&lt;EM&gt;07 Dec 2016 22:43:27,505 ERROR [ambari-client-thread-2495] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getConfigPortValue(ResourceManagerHttpPropertyRequest.java:120)
        at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getPort(ResourceManagerHttpPropertyRequest.java:93)
        at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getUrl(ResourceManagerHttpPropertyRequest.java:77)
        at org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResource(HttpPropertyProvider.java:133)
        at org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResources(HttpPropertyProvider.java:117)
        at org.apache.ambari.server.controller.internal.ClusterControllerImpl.populateResources(ClusterControllerImpl.java:155)
        at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:424)
        at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:222)
        at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:77)
        at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:145)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
        at org.apache.ambari.server.api.services.HostComponentService.getHostComponents(HostComponentService.java:104)
        at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
07 Dec 2016 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2016 14:47:11 GMT</pubDate>
    <dc:creator>prabhat_bce</dc:creator>
    <dc:date>2016-12-08T14:47:11Z</dc:date>
    <item>
      <title>Ambari is unable to fetch Host Components</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142901#M48291</link>
      <description>&lt;H4&gt;
	Ambari is not able to load service details for all the components like (Hbase,hdfs,zookeeper etc.) after upgrading Ambari from 2.1.2 to 2.4.2. The error found in ambari-server logs is,&lt;/H4&gt;&lt;P&gt;&lt;EM&gt;22:43:27,505 WARN [ambari-client-thread-2495] ServletHandler:561 - Error Processing URI: /api/v1/clusters/&amp;lt;CLUSTER_NAME&amp;gt;/host_components - (java.lang.ArrayIndexOutOfBoundsException) 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;
	&lt;EM&gt;07 Dec 2016 22:43:27,505 ERROR [ambari-client-thread-2495] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getConfigPortValue(ResourceManagerHttpPropertyRequest.java:120)
        at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getPort(ResourceManagerHttpPropertyRequest.java:93)
        at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getUrl(ResourceManagerHttpPropertyRequest.java:77)
        at org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResource(HttpPropertyProvider.java:133)
        at org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResources(HttpPropertyProvider.java:117)
        at org.apache.ambari.server.controller.internal.ClusterControllerImpl.populateResources(ClusterControllerImpl.java:155)
        at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:424)
        at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:222)
        at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:77)
        at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:145)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
        at org.apache.ambari.server.api.services.HostComponentService.getHostComponents(HostComponentService.java:104)
        at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
07 Dec 2016 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 14:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142901#M48291</guid>
      <dc:creator>prabhat_bce</dc:creator>
      <dc:date>2016-12-08T14:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is unable to fetch Host Components</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142902#M48292</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11425/prabhatbce.html"&gt;Prabhat Singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you pelase check if the following properties are set correctly?   yarn.resourcemanager.webapp.https.address.XYZ       with port 8090 (default)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;yarn.resourcemanager.webapp.https.address = erie3.example.com:8090
yarn.resourcemanager.webapp.https.address.rm1 = erie3.example.com:8090
yarn.resourcemanager.webapp.https.address.rm2 = erie2.example.com:8090&lt;/PRE&gt;&lt;P&gt;Similarly please check the &lt;/P&gt;&lt;PRE&gt;yarn.resourcemanager.webapp.address

&lt;/PRE&gt;&lt;P&gt;- Please make sure that the Port is mentioned in the address.  Missing port can cause this issue.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 15:40:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142902#M48292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-08T15:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is unable to fetch Host Components</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142903#M48293</link>
      <description>&lt;P&gt;Hi jss,&lt;/P&gt;&lt;P&gt;Thanks for a quick response. This is what i can see,&lt;/P&gt;&lt;PRE&gt;yarn.resourcemanager.webapp.https.address=&amp;lt;hostname&amp;gt;:8090
yarn.resourcemanager.hostname.rm1=&amp;lt;hostname&amp;gt;
yarn.resourcemanager.webapp.address.rm1=&amp;lt;hostname&amp;gt;
yarn.resourcemanager.hostname.rm2=&amp;lt;hostname&amp;gt;
yarn.resourcemanager.webapp.address=&amp;lt;hostname&amp;gt;:8088&lt;/PRE&gt;&lt;P&gt;We have two more cluster where we are running version 2.4.1.0 of Ambari. The two are working fine with above properties. Is there any major change in Ambari 2.4.2?&lt;/P&gt;&lt;P&gt;Please suggest. &lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 16:16:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142903#M48293</guid>
      <dc:creator>prabhat_bce</dc:creator>
      <dc:date>2016-12-08T16:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is unable to fetch Host Components</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142904#M48294</link>
      <description>&lt;P&gt;By adding the port solves the issue. &lt;/P&gt;&lt;P&gt;Thanks a lot &lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@jss&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 17:44:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-unable-to-fetch-Host-Components/m-p/142904#M48294</guid>
      <dc:creator>prabhat_bce</dc:creator>
      <dc:date>2016-12-08T17:44:32Z</dc:date>
    </item>
  </channel>
</rss>

