Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.2
-
None
Description
Steps to reproduce;
1. Deploy with blueprint with RM HA enabled
2. Blueprint doesnot set "yarn.resourcemanager.webapp.address.rm1" and "yarn.resourcemanager.webapp.address.rm2" properties to yarn-site.xml
3. Select TEZ view
20 Oct 2015 15:24:52,247 WARN [qtp-client-30] ServletHandler:563 - /api/v1/views/TEZ/versions/0.7.0.2.3.2.0-378/instances/TEZ_CLUSTER_INSTANCE/resources/status
java.lang.NullPointerException
at org.apache.ambari.view.utils.ambari.Services.getRMHAUrls(Services.java:124)
at org.apache.ambari.view.utils.ambari.Services.getRMUrlFromClusterConfig(Services.java:94)
at org.apache.ambari.view.utils.ambari.Services.getRMUrl(Services.java:74)
at org.apache.ambari.view.tez.ViewControllerImpl.getViewStatus(ViewControllerImpl.java:60)
at org.apache.ambari.view.tez.rest.ViewStatusResource.getViewStatus(ViewStatusResource.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
Expectation is that "${yarn.resourcemanager.hostname.rm1/rm2}:DEFAULT_RM_WEBAPP_PORT" will be used instead to fetch the Active RM Url
Attachments
Attachments
Issue Links
- is related to
-
AMBARI-12970 Fix Tez view to work with RM HA
- Resolved
- relates to
-
AMBARI-13493 TEZ view throws NPE when RM HA is enabled via Blueprint deploy
- Resolved
- links to