Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08FCD200C79 for ; Fri, 19 May 2017 16:23:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 07B19160BD1; Fri, 19 May 2017 14:23:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 09439160BD2 for ; Fri, 19 May 2017 16:23:08 +0200 (CEST) Received: (qmail 32355 invoked by uid 500); 19 May 2017 14:23:08 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 32346 invoked by uid 99); 19 May 2017 14:23:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2017 14:23:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C4CD6C2544 for ; Fri, 19 May 2017 14:23:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id iUKbT4aY9OLG for ; Fri, 19 May 2017 14:23:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DF3385F20C for ; Fri, 19 May 2017 14:23:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 264B3E05CE for ; Fri, 19 May 2017 14:23:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6787621B61 for ; Fri, 19 May 2017 14:23:04 +0000 (UTC) Date: Fri, 19 May 2017 14:23:04 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21074) Storm XML File has Invalid Characters Causing Exceptions on Server Startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 19 May 2017 14:23:10 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-21074: ------------------------------------- Attachment: AMBARI-21074.patch > Storm XML File has Invalid Characters Causing Exceptions on Server Startup > -------------------------------------------------------------------------- > > Key: AMBARI-21074 > URL: https://issues.apache.org/jira/browse/AMBARI-21074 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.5.1 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Blocker > Fix For: 2.5.1 > > Attachments: AMBARI-21074.patch > > > Ambari server is failing to start on D7 due to multiple exceptions during ambari-server schema upgrade. > The first exception thrown is > {code:None} > 19 May 2017 10:01:42,268 INFO [main] ServiceDirectory:419 - Role command order info was loaded from file: /var/lib/ambari-server/resources/common-services/DRUID/0.9.2/role_command_order.json > 19 May 2017 10:01:42,434 ERROR [main] ModuleFileUnmarshaller:141 - Cannot parse /var/lib/ambari-server/resources/common-services/STORM/0.9.1/configuration/storm-env.xml > 19 May 2017 10:01:42,435 ERROR [main] ModuleFileUnmarshaller:143 - The entity name must immediately follow the '&' in the entity reference. > org.xml.sax.SAXParseException; systemId: file:/var/lib/ambari-server/resources/common-services/STORM/0.9.1/configuration/storm-env.xml; lineNumber: 131; columnNumber: 64; The entity name must immediately follow the '&' in the entity reference. > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) > at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1846) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3061) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) > at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770) > 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:643) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:216) > 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.stack.ModuleFileUnmarshaller.unmarshal(ModuleFileUnmarshaller.java:136) > at org.apache.ambari.server.stack.ModuleFileUnmarshaller.unmarshal(ModuleFileUnmarshaller.java:81) > at org.apache.ambari.server.stack.ConfigurationDirectory.parsePath(ConfigurationDirectory.java:103) > at org.apache.ambari.server.stack.ConfigurationDirectory.(ConfigurationDirectory.java:79) > at org.apache.ambari.server.stack.StackDefinitionDirectory.getConfigurationDirectory(StackDefinitionDirectory.java:72) > at org.apache.ambari.server.stack.ServiceModule.populateConfigurationModules(ServiceModule.java:393) > at org.apache.ambari.server.stack.ServiceModule.(ServiceModule.java:151) > at org.apache.ambari.server.stack.StackManager.parseCommonServicesDirectory(StackManager.java:514) > at org.apache.ambari.server.stack.StackManager.parseDirectories(StackManager.java:186) > at org.apache.ambari.server.stack.StackManager.(StackManager.java:158) > at org.apache.ambari.server.stack.StackManager$$FastClassByGuice$$33e4ffe0.newInstance() > {code} > Then there are more guice errors > {code:None} > 19 May 2017 10:01:44,916 ERROR [main] SchemaUpgradeHelper:240 - Upgrade failed. > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting method, java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=cl1, serviceName=STORM, componentName=DRPC_SERVER, stackInfo=HDF-2.1 > at org.apache.ambari.server.state.cluster.ClustersImpl.loadClustersAndHosts(ClustersImpl.java:186) > 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 > 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:367) > at org.apache.ambari.server.upgrade.UpgradeCatalog250.executeDMLUpdates(UpgradeCatalog250.java:195) > at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:940) > at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:238) > at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:431) > Caused by: java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=cl1, serviceName=STORM, componentName=DRPC_SERVER, stackInfo=HDF-2.1 > at org.apache.ambari.server.state.ServiceComponentImpl.updateComponentInfo(ServiceComponentImpl.java:134) > at org.apache.ambari.server.state.ServiceComponentImpl.(ServiceComponentImpl.java:164) > at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) > at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260) > at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) > at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) > at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) > at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) > at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974) > at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632) > at com.sun.proxy.$Proxy19.createExisting(Unknown Source) > at org.apache.ambari.server.state.ServiceImpl.(ServiceImpl.java:169) > at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) > at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260) > at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) > at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) > at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978) > at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031) > at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974) > at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632) > at com.sun.proxy.$Proxy15.createExisting(Unknown Source) > {code} > Cluster details > {code:None} > Cluster will be up for the next 48 hours. Use the attached keypair. > 172.22.74.229 natd76-xems-ambarieu-hdf-212-to-300-sec-5.openstacklocal natd76-xems-ambarieu-hdf-212-to-300-sec-5 natd76-xems-ambarieu-hdf-212-to-300-sec-5.openstacklocal. > 172.22.74.208 natd76-xems-ambarieu-hdf-212-to-300-sec-4.openstacklocal natd76-xems-ambarieu-hdf-212-to-300-sec-4 natd76-xems-ambarieu-hdf-212-to-300-sec-4.openstacklocal. > 172.22.74.209 natd76-xems-ambarieu-hdf-212-to-300-sec-3.openstacklocal natd76-xems-ambarieu-hdf-212-to-300-sec-3 natd76-xems-ambarieu-hdf-212-to-300-sec-3.openstacklocal. > 172.22.74.207 natd76-xems-ambarieu-hdf-212-to-300-sec-2.openstacklocal natd76-xems-ambarieu-hdf-212-to-300-sec-2 natd76-xems-ambarieu-hdf-212-to-300-sec-2.openstacklocal. > 172.22.74.21 natd76-xems-ambarieu-hdf-212-to-300-sec-1.openstacklocal natd76-xems-ambarieu-hdf-212-to-300-sec-1 natd76-xems-ambarieu-hdf-212-to-300-sec-1.openstacklocal. > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)