ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17946) Initial Upgrade Checks Can Fail With ConcurrentModificationException
Date Fri, 29 Jul 2016 15:44:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-17946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399540#comment-15399540
] 

Hudson commented on AMBARI-17946:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #5414 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5414/])
AMBARI-17946 - Initial Upgrade Checks Can Fail With (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3cbd29f919ee6657bdf0a16b01a85fc4aa6d785e])
* ambari-server/src/test/java/org/apache/ambari/server/api/services/BaseServiceTest.java
* ambari-server/src/test/java/org/apache/ambari/server/api/services/PreUpgradeCheckServiceTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/UpgradeService.java
* ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/PreUpgradeCheckService.java
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/UpgradePack.java


> 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