ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-10738) NPE on desiredStateEntity from different stack traces in ServiceComponentHostImpl
Date Fri, 24 Apr 2015 19:48:38 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-10738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Wagle updated AMBARI-10738:
-------------------------------------
    Attachment: AMBARI-10738.patch

> NPE on desiredStateEntity from different stack traces in ServiceComponentHostImpl
> ---------------------------------------------------------------------------------
>
>                 Key: AMBARI-10738
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10738
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10738.patch
>
>
> {code}
> 16 Apr 2015 09:51:33,747 ERROR [qtp-client-1452] ReadHandler:91 - Caught a runtime exception
executing a query
> java.lang.NullPointerException
>         at org.apache.ambari.server.state.svccomphost.ServiceComponentHostImpl.getMaintenanceState(ServiceComponentHostImpl.java:142
> 5)
>         at org.apache.ambari.server.controller.MaintenanceStateHelper.getEffectiveState(MaintenanceStateHelper.java:208)
>         at org.apache.ambari.server.controller.MaintenanceStateHelper.getEffectiveState(MaintenanceStateHelper.java:177)
>         at org.apache.ambari.server.controller.MaintenanceStateHelper.getEffectiveState(MaintenanceStateHelper.java:191)
>         at org.apache.ambari.server.state.cluster.ClusterImpl.getClusterHealthReport(ClusterImpl.java:2486)
>         at org.apache.ambari.server.state.cluster.ClusterImpl.convertToResponse(ClusterImpl.java:1675)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getClusters(AmbariManagementControllerImpl.java:847)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getClusters(AmbariManagementControllerImpl.java:2603)
>         at org.apache.ambari.server.controller.internal.ClusterResourceProvider$1.invoke(ClusterResourceProvider.java:182)
>         at org.apache.ambari.server.controller.internal.ClusterResourceProvider$1.invoke(ClusterResourceProvider.java:179)
>         at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(AbstractResourceProvider.java:302)
>         at org.apache.ambari.server.controller.internal.ClusterResourceProvider.getResources(ClusterResourceProvider.java:179)
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl$ExtendedResourceProviderWrapper.queryForResources(Clus
> terControllerImpl.java:945)
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:132)
>         at org.apache.ambari.server.api.query.QueryImpl.doQuery(QueryImpl.java:475)
>         at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:381)
>         at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:217)
>         at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:68)
>         at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
>         at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:103)
>         at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:72)
>         at org.apache.ambari.server.api.services.ClusterService.getCluster(ClusterService.java:94)
>         at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(Abst
> ractResourceMethodDispatchProvider.java:205)
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:
> 75)
>  
> ...
>  
> 16 Apr 2015 09:51:33,757  WARN [qtp-client-1452] ServletHandler:514 - /api/v1/clusters/woah
> java.lang.NullPointerException
>         at org.apache.ambari.server.state.svccomphost.ServiceComponentHostImpl.getMaintenanceState(ServiceComponentHostImpl.java:1425)
>         at org.apache.ambari.server.controller.MaintenanceStateHelper.getEffectiveState(MaintenanceStateHelper.java:208)
>         at org.apache.ambari.server.controller.MaintenanceStateHelper.getEffectiveState(MaintenanceStateHelper.java:177)
>         at org.apache.ambari.server.controller.MaintenanceStateHelper.getEffectiveState(MaintenanceStateHelper.java:191)
>         at org.apache.ambari.server.state.cluster.ClusterImpl.getClusterHealthReport(ClusterImpl.java:2486)
>         at org.apache.ambari.server.state.cluster.ClusterImpl.convertToResponse(ClusterImpl.java:1675)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getClusters(AmbariManagementControllerImpl.java:847)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getClusters(AmbariManagementControllerImpl.java:2603)
>         at org.apache.ambari.server.controller.internal.ClusterResourceProvider$1.invoke(ClusterResourceProvider.java:182)
>         at org.apache.ambari.server.controller.internal.ClusterResourceProvider$1.invoke(ClusterResourceProvider.java:179)
>         at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(AbstractResourceProvider.java:302)
>         at org.apache.ambari.server.controller.internal.ClusterResourceProvider.getResources(ClusterResourceProvider.java:179)
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl$ExtendedResourceProviderWrapper.queryForResources(ClusterControllerImpl.java:945)
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:132)
>         at org.apache.ambari.server.api.query.QueryImpl.doQuery(QueryImpl.java:475)
>         at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:381)
>         at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:217)
>         at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:68)
>         at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
>         at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:103)
>         at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:72)
>         at org.apache.ambari.server.api.services.ClusterService.getCluster(ClusterService.java:94)
>         at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message