Created 07-10-2016 09:04 AM
Registering the new HDP version during upgrade HDP from 2.3.4.7 to 2.4.2.0 is failing with below error message.
An internal system exception occurred: Stack HDP-2.4 doesn't have upgrade packages
[qtp-ambari-client-33] BaseManagementHandler:57 - Caught a system exception while attempting to create a resource: An internal system exception occurred: Stack HDP-2.4 doesn't have upgrade packages org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Stack HDP-2.4 doesn't have upgrade packages at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:282) at org.apache.ambari.server.controller.internal.RepositoryVersionResourceProvider.createResources(RepositoryVersionResourceProvider.java:153) at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289) at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:76) at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36) at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72) at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:106) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:75) at org.apache.ambari.server.api.services.RepositoryVersionService.createRepositoryVersion(RepositoryVersionService.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
Created 07-12-2016 08:35 PM
Thanks all for your comments.
Looks like earlier upgrade missed below step,
ambari-server stop
ambari-server upgradestack HDP-2.3 ambari-server start
This was evident from ambari database tables, while finalizing earlier upgrade, it errored out.
Created 07-10-2016 12:30 PM
Is your Ambari version 2.2.2.0?
Created 07-10-2016 05:01 PM
yes, upgraded current prod cluster from Ambari 2.2.1.1 to 2.2.2 and we are trying to upgrade HDP from 2.3.4.7 to 2.4.2.
Able to perform the same in pre-prod env without issues.
Created 07-11-2016 01:59 AM
Was pre-prod using same mirror? Take a look at Ambari db see if anything is still stuck on old Ambari version?
Created 07-11-2016 03:42 AM
@Kiran Jilla Are there any difference in pre-prod vs prod? db versions, services, kerberos, etc?
Created 07-11-2016 05:14 AM
I think your dev is internet enabled servers but prod in not.
Check you check your repo list if it's pointing HDP2.4.2.0 or not.
Created 07-12-2016 08:35 PM
Thanks all for your comments.
Looks like earlier upgrade missed below step,
ambari-server stop
ambari-server upgradestack HDP-2.3 ambari-server start
This was evident from ambari database tables, while finalizing earlier upgrade, it errored out.