ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Lambert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12597) Ambari should support custom stack names
Date Fri, 26 Feb 2016 19:50:18 GMT

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

Rob Lambert commented on AMBARI-12597:
--------------------------------------

Thank you for your message, I am out of the office until Monday 29th Feb. Please consider
re-sending this message on that date if it is urgent, or contacting a colleague.

If regarding KAVE software, please contact Maarten Hoekstra (hoekstra.maarten@kpmg.nl). For
other urgent matters, please contact Erik van den Brom (vandenBrom.Erik@kpmg.nl).

Best Regards,

Dr. Rob Lambert

***********************************************************************
The information in this e-mail is confidential and may be legally privileged. It is intended
solely for the addressee. Access to this e-mail by anyone else is unauthorized. If you have
received this communication in error, please address with the subject heading "Received in
error," send to the original sender , then delete the e-mail and destroy any copies of it.
If you are not the intended recipient, any disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any opinions
or advice contained in this e-mail are subject to the terms and conditions expressed in the
governing KPMG client engagement letter. Opinions, conclusions and other information in this
e-mail and any attachments that do not relate to the official business of the firm are neither
given nor endorsed by it.

KPMG cannot guarantee that e-mail communications are secure or error-free, as information
could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain
viruses. 

This email is being sent out by KPMG International on behalf of the local KPMG member firm
providing services to you.  KPMG International Cooperative ("KPMG International") is a Swiss
entity that serves as a coordinating entity for a network of independent firms operating under
the KPMG name. KPMG International provides no services to clients. Each member firm of KPMG
International is a legally distinct and separate entity and each describes itself as such.
 Information about the structure and jurisdiction of your local KPMG member firm can be obtained
from your KPMG representative.

This footnote also confirms that this e-mail message has been swept by AntiVirus software.
***********************************************************************


> Ambari should support custom stack names
> ----------------------------------------
>
>                 Key: AMBARI-12597
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12597
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Alejandro Fernandez
>            Assignee: Sumit Mohanty
>            Priority: Blocker
>             Fix For: 2.3.0, 2.2.2
>
>         Attachments: AMBARI-12597.patch
>
>
> When upgrading to Ambari 2.1.0, with a custom stack name and version that contains letters,
the Ambari Upgrade will fail, and most likely so will starting services.
> E.g.,
> /var/lib/ambari-server/stacks/HDP/
> 2.2
> 2.2.MYNAME
> If "2.2.MYNAME" is a stack, then the upgrade to Ambari 2.1 will attempt to insert a record
in the stack table. The upgrade will then try to insert appropriate repo_version items, and
then fail when trying to compare versions.
> First error,
> {code}
> 1) Error injecting method, java.lang.NullPointerException
>   at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:242)
>   at org.apache.ambari.server.api.services.AmbariMetaInfo.class(AmbariMetaInfo.java:124)
>   while locating org.apache.ambari.server.api.services.AmbariMetaInfo
> 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.UpgradeCatalog210.executeStackPreDMLUpdates(UpgradeCatalog210.java:670)
> 	at org.apache.ambari.server.upgrade.UpgradeCatalog210.executePreDMLUpdates(UpgradeCatalog210.java:985)
> 	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.preUpgradeData(AbstractUpgradeCatalog.java:531)
> 	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executePreDMLUpdates(SchemaUpgradeHelper.java:205)
> 	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:295)
> Caused by: java.lang.NullPointerException
> 	at org.apache.ambari.server.stack.StackModule.processRepositories(StackModule.java:650)
> 	at org.apache.ambari.server.stack.StackModule.resolve(StackModule.java:159)
> 	at org.apache.ambari.server.stack.StackManager.fullyResolveStacks(StackManager.java:201)
> 	at org.apache.ambari.server.stack.StackManager.<init>(StackManager.java:119)
> 	at org.apache.ambari.server.stack.StackManager$$FastClassByGuice$$33e4ffe0.newInstance(<generated>)
> 	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
> 	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
> 	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.$Proxy26.create(Unknown Source)
> 	at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:246)
> 	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.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)
> 	... 6 more
> {code}
> Next error,
> {code}
> java.lang.NumberFormatException: For input string: "NEA"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:580)
>         at java.lang.Integer.parseInt(Integer.java:615)
>         at org.apache.ambari.server.utils.VersionUtils.compareVersions(VersionUtils.java:76)
>         at org.apache.ambari.server.utils.VersionUtils.compareVersions(VersionUtils.java:136)
>         at org.apache.ambari.server.upgrade.UpgradeCatalog210.removeStormRestApiServiceComponent(UpgradeCatalog210.java:1141)
>         at org.apache.ambari.server.upgrade.UpgradeCatalog210.executeDMLUpdates(UpgradeCatalog210.java:1001)
>         at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:536)
>         at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:220)
>         at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:297)
> 30 Jul 2015 22:28:59,105 ERROR [main] SchemaUpgradeHelper:308 - Exception occurred during
upgrade, failed
> org.apache.ambari.server.AmbariException: For input string: "NEA"
>         at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:223)
>         at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:297)
> Caused by: java.lang.NumberFormatException: For input string: "NEA"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:580)
>         at java.lang.Integer.parseInt(Integer.java:615)
>         at org.apache.ambari.server.utils.VersionUtils.compareVersions(VersionUtils.java:76)
>         at org.apache.ambari.server.utils.VersionUtils.compareVersions(VersionUtils.java:136)
>         at org.apache.ambari.server.upgrade.UpgradeCatalog210.removeStormRestApiServiceComponent(UpgradeCatalog210.java:1141)
>         at org.apache.ambari.server.upgrade.UpgradeCatalog210.executeDMLUpdates(UpgradeCatalog210.java:1001)
>         at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:536)
>         at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:220)
>         ... 1 more
> {code}



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

Mime
View raw message