ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pankaj Singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-13283) Class not found exception while running step "ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri DB is Oracle
Date Thu, 01 Oct 2015 11:33:26 GMT
Pankaj Singh created AMBARI-13283:
-------------------------------------

             Summary: Class not found exception while running step "ambari-server upgradestack
HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri DB is Oracle
                 Key: AMBARI-13283
                 URL: https://issues.apache.org/jira/browse/AMBARI-13283
             Project: Ambari
          Issue Type: Bug
          Components: ambari-upgrade
    Affects Versions: 2.1.2
         Environment: OS - centos6
DB -Oracle 11
Ambari upgrade path : 2.0.2 -> 2.1.2 368
HDP upgrade path 2.2 -> 2.3.2
            Reporter: Pankaj Singh
            Priority: Blocker
             Fix For: 2.1.3


As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
{code}
29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database
type from the JDBC URL
29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification
dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification
dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification
dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.apache.ambari.server.orm.DBAccessorImpl.<init>(DBAccessorImpl.java:81)
at org.apache.ambari.server.orm.DBAccessorImpl$$FastClassByGuice$$86dbc63e.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.FactoryProxy.get(FactoryProxy.java:54)
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.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.SingleFieldInjector.inject(SingleFieldInjector.java:53)
at com.google.inject.internal.InjectionRequestProcessor$StaticInjection$1.call(InjectionRequestProcessor.java:116)
at com.google.inject.internal.InjectionRequestProcessor$StaticInjection$1.call(InjectionRequestProcessor.java:110)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at com.google.inject.internal.InjectionRequestProcessor$StaticInjection.injectMembers(InjectionRequestProcessor.java:110)
at com.google.inject.internal.InjectionRequestProcessor.injectMembers(InjectionRequestProcessor.java:78)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:170)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at org.apache.ambari.server.upgrade.StackUpgradeHelper.main(StackUpgradeHelper.java:144)
29 Sep 2015 10:51:29,232 ERROR main DBAccessorImpl:102 - Error while creating database accessor
{code}



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

Mime
View raw message