ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17946) Initial Upgrade Checks Can Fail With ConcurrentModificationException
Date Thu, 28 Jul 2016 13:24:20 GMT

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

Jonathan Hurley updated AMBARI-17946:
-------------------------------------
    Attachment: AMBARI-17946.patch

> Initial Upgrade Checks Can Fail With ConcurrentModificationException
> --------------------------------------------------------------------
>
>                 Key: AMBARI-17946
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17946
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17946.patch
>
>
> Intermittently, the pre-stack upgrade checks will fail with a {{ConcurrentModificationException}}:
> {code}
>  WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.ambari.server.api.services.PreUpgradeCheckService.getPreUpgradeChecks(java.lang.String,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo),
should not consume any entity.
> 27 Jul 2016 04:21:27,035 ERROR [ambari-client-thread-35] CheckHelper:120 - Check HOSTS_MASTER_MAINTENANCE
failed
> java.util.ConcurrentModificationException
> 	at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:711)
> 	at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:739)
> 	at org.apache.ambari.server.checks.HostsMasterMaintenanceCheck.perform(HostsMasterMaintenanceCheck.java:83)
> 	at org.apache.ambari.server.state.CheckHelper.performChecks(CheckHelper.java:99)
> 	at org.apache.ambari.server.controller.internal.PreUpgradeCheckResourceProvider.getResources(PreUpgradeCheckResourceProvider.java:192)
> 	at org.apache.ambari.server.controller.internal.ClusterControllerImpl$ExtendedResourceProviderWrapper.queryForResources(ClusterControllerImpl.java:966)
> 	at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:141)
> {code}



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

Mime
View raw message