[ https://issues.apache.org/jira/browse/AMBARI-18747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hurley updated AMBARI-18747: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Ambari Upgrade Failed from 2.4.1 to 2.5 > --------------------------------------- > > Key: AMBARI-18747 > URL: https://issues.apache.org/jira/browse/AMBARI-18747 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Blocker > Fix For: 2.5.0 > > Attachments: AMBARI-18747.patch > > > {code}Exception in thread "main" org.apache.ambari.server.AmbariException: > Guice provision errors: > 1) Tried proxying org.apache.ambari.server.state.ConfigHelper to support a > circular dependency, but it is not an interface. > at org.apache.ambari.server.state.ConfigHelper.class(ConfigHelper.java:61) > while locating org.apache.ambari.server.state.ConfigHelper > for field at > org.apache.ambari.server.state.cluster.ClusterImpl.configHelper(ClusterImpl.java:162) > while locating > org.apache.ambari.server.state.cluster.ClusterImpl$$EnhancerByGuice$$7fe3f0d9 > at > org.apache.ambari.server.state.cluster.ClusterImpl.<init>(ClusterImpl.java:315) > while locating org.apache.ambari.server.state.Cluster annotated with > interface com.google.inject.assistedinject.Assisted > at > org.apache.ambari.server.state.cluster.ClustersImpl.loadClustersAndHosts(ClustersImpl.java:102) > at > org.apache.ambari.server.state.cluster.ClustersImpl.class(ClustersImpl.java:102) > while locating org.apache.ambari.server.state.cluster.ClustersImpl > while locating org.apache.ambari.server.state.Clusters > for parameter 0 at > org.apache.ambari.server.state.ConfigHelper.<init>(ConfigHelper.java:103) > at org.apache.ambari.server.state.ConfigHelper.class(ConfigHelper.java:61) > while locating org.apache.ambari.server.state.ConfigHelper > 1 error > at > org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:244) > at > org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:363) > Caused by: com.google.inject.ProvisionException: Guice provision errors: > 1) Tried proxying org.apache.ambari.server.state.ConfigHelper to support a > circular dependency, but it is not an interface. > at org.apache.ambari.server.state.ConfigHelper.class(ConfigHelper.java:61) > while locating org.apache.ambari.server.state.ConfigHelper > for field at > org.apache.ambari.server.state.cluster.ClusterImpl.configHelper(ClusterImpl.java:162) > while locating > org.apache.ambari.server.state.cluster.ClusterImpl$$EnhancerByGuice$$7fe3f0d9 > at > org.apache.ambari.server.state.cluster.ClusterImpl.<init>(ClusterImpl.java:315) > while locating org.apache.ambari.server.state.Cluster annotated with > interface com.google.inject.assistedinject.Assisted > at > org.apache.ambari.server.state.cluster.ClustersImpl.loadClustersAndHosts(ClustersImpl.java:102) > at > org.apache.ambari.server.state.cluster.ClustersImpl.class(ClustersImpl.java:102) > while locating org.apache.ambari.server.state.cluster.ClustersImpl > while locating org.apache.ambari.server.state.Clusters > for parameter 0 at > org.apache.ambari.server.state.ConfigHelper.<init>(ConfigHelper.java:103) > at org.apache.ambari.server.state.ConfigHelper.class(ConfigHelper.java:61) > while locating org.apache.ambari.server.state.ConfigHelper > 1 error > at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013) > at > org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.addNewConfigurationsFromXml(AbstractUpgradeCatalog.java:381) > at > org.apache.ambari.server.upgrade.UpgradeCatalog242.executeDMLUpdates(UpgradeCatalog242.java:121) > at > org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:954) > at > org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:241) > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)