Member since
06-24-2016
3
Posts
0
Kudos Received
0
Solutions
12-08-2016
09:44 AM
By adding the port solves the issue. Thanks a lot @jss
... View more
12-08-2016
08:16 AM
Hi jss, Thanks for a quick response. This is what i can see, yarn.resourcemanager.webapp.https.address=<hostname>:8090
yarn.resourcemanager.hostname.rm1=<hostname>
yarn.resourcemanager.webapp.address.rm1=<hostname>
yarn.resourcemanager.hostname.rm2=<hostname>
yarn.resourcemanager.webapp.address=<hostname>:8088 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? Please suggest.
... View more
12-08-2016
06:47 AM
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, 22:43:27,505 WARN [ambari-client-thread-2495] ServletHandler:561 - Error Processing URI: /api/v1/clusters/<CLUSTER_NAME>/host_components - (java.lang.ArrayIndexOutOfBoundsException) 1
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
... View more
Labels:
- Labels:
-
Apache Ambari