ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-8097) Upgrade to 1.7.0 shows exception in log related to WEBHCAT
Date Sat, 01 Nov 2014 19:52:33 GMT

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

Andrew Onischuk resolved AMBARI-8097.
-------------------------------------
    Resolution: Fixed

Committed to trunk and branch-1.7.0

> Upgrade to 1.7.0 shows exception in log related to WEBHCAT
> ----------------------------------------------------------
>
>                 Key: AMBARI-8097
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8097
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.7.0
>
>
> Looks like exceptions related to WEBHCAT metainfo for stacks 2.0.6 and 1.3.2
> These errors might be benign but on upgrade, having stack traces like this in
> the logs will cause confusion when performing upgrade if there is a real
> problem.
>     
>     
>     
>     12:35:06,152  WARN [main] StackExtensionHelper:598 - Error while parsing metainfo.xml
for a service: /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/WEBHCAT
>     javax.xml.bind.UnmarshalException
>      - with linked exception:
>     [java.io.FileNotFoundException: /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/WEBHCAT/metainfo.xml
(No such file or directory)]
>     	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:218)
>     	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:189)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.unmarshal(StackExtensionHelper.java:923)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.populateServicesForStack(StackExtensionHelper.java:573)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.getStackInfo(StackExtensionHelper.java:766)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.fillInfo(StackExtensionHelper.java:134)
>     	at org.apache.ambari.server.api.services.AmbariMetaInfo.getConfigurationInformation(AmbariMetaInfo.java:832)
>     	at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:175)
>     	at org.apache.ambari.server.api.services.AmbariMetaInfo$$FastClassByGuice$$202844bc.invoke(<generated>)
>     	at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
>     	at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
>     	at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:90)
>     	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
>     	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
>     	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
>     	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
>     	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
>     	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
>     	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
>     	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
>     	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateConfigurationProperties(AbstractUpgradeCatalog.java:348)
>     	at org.apache.ambari.server.upgrade.UpgradeCatalog161.addMissingConfigs(UpgradeCatalog161.java:290)
>     	at org.apache.ambari.server.upgrade.UpgradeCatalog161.executeDMLUpdates(UpgradeCatalog161.java:286)
>     	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:388)
>     	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:194)
>     	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:243)
>     Caused by: java.io.FileNotFoundException: /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/WEBHCAT/metainfo.xml
(No such file or directory)
>     	at java.io.FileInputStream.open(Native Method)
>     	at java.io.FileInputStream.<init>(FileInputStream.java:146)
>     	at java.io.FileInputStream.<init>(FileInputStream.java:101)
>     	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
>     	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
>     	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:613)
>     	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
>     	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
>     	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
>     	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>     	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
>     	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
>     	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:216)
>     	... 62 more
>     12:35:06,654  WARN [main] StackExtensionHelper:598 - Error while parsing metainfo.xml
for a service: /var/lib/ambari-server/resources/stacks/HDP/1.3.2/services/WEBHCAT
>     javax.xml.bind.UnmarshalException
>      - with linked exception:
>     [java.io.FileNotFoundException: /var/lib/ambari-server/resources/stacks/HDP/1.3.2/services/WEBHCAT/metainfo.xml
(No such file or directory)]
>     	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:218)
>     	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:189)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
>     	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.unmarshal(StackExtensionHelper.java:923)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.populateServicesForStack(StackExtensionHelper.java:573)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.getStackInfo(StackExtensionHelper.java:766)
>     	at org.apache.ambari.server.api.util.StackExtensionHelper.fillInfo(StackExtensionHelper.java:134)
>     	at org.apache.ambari.server.api.services.AmbariMetaInfo.getConfigurationInformation(AmbariMetaInfo.java:832)
>     	at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:175)
>     	at org.apache.ambari.server.api.services.AmbariMetaInfo$$FastClassByGuice$$202844bc.invoke(<generated>)
>     	at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
>     	at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
>     	at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:90)
>     	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
>     	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
>     	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
>     	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
>     	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
>     	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
>     	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>     	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>     	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>     	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>     	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
>     	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
>     	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
>     	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
>     	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
>     	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateConfigurationProperties(AbstractUpgradeCatalog.java:348)
>     	at org.apache.ambari.server.upgrade.UpgradeCatalog161.addMissingConfigs(UpgradeCatalog161.java:290)
>     	at org.apache.ambari.server.upgrade.UpgradeCatalog161.executeDMLUpdates(UpgradeCatalog161.java:286)
>     	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:388)
>     	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:194)
>     	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:243)
>     Caused by: java.io.FileNotFoundException: /var/lib/ambari-server/resources/stacks/HDP/1.3.2/services/WEBHCAT/metainfo.xml
(No such file or directory)
>     	at java.io.FileInputStream.open(Native Method)
>     	at java.io.FileInputStream.<init>(FileInputStream.java:146)
>     	at java.io.FileInputStream.<init>(FileInputStream.java:101)
>     	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
>     	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
>     	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:613)
>     	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
>     	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
>     	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
>     	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>     	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
>     	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
>     	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:216)
>     	... 62 more
>     12:35:07,264  INFO [Stack Version Loading Thread] LatestRepoCallable:72 - Loading
latest URL 
>     



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

Mime
View raw message