incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-2336) Datanode start failed (with Oracle DB) due to RCA setup
Date Sun, 09 Jun 2013 22:08:20 GMT

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

Siddharth Wagle resolved AMBARI-2336.
-------------------------------------

    Resolution: Fixed
    
> Datanode start failed (with Oracle DB) due to RCA setup
> -------------------------------------------------------
>
>                 Key: AMBARI-2336
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2336
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent, controller
>    Affects Versions: 1.2.4
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.2.4
>
>         Attachments: AMBARI-2336.patch
>
>
> Log (out file) from datanode
> {code}
> Can't load driver - oracle.jdbc.driver.OracleDriver
> Failed to connect to db jdbc:oracle:thin:@ip-10-98-166-249.ec2.internal:1521/XE as user
ambari password bigdata and driver oracle.jdbc.driver.OracleDriver with java.lang.RuntimeException:
Can't load driver - oracle.jdbc.driver.OracleDriver
>         at org.apache.ambari.log4j.common.store.DatabaseStore.<init>(DatabaseStore.java:46)
>         at org.apache.ambari.log4j.hadoop.mapreduce.jobhistory.JobHistoryAppender.activateOptions(JobHistoryAppender.java:116)
>         at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
>         at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
>         at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
>         at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:568)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:442)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
>         at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
>         at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
>         at org.apache.log4j.Logger.getLogger(Logger.java:105)
>         at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
>         at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
>         at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:858)
>         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
>         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
>         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
>         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.<clinit>(DataNode.java:170)
> Exception in thread "main" java.lang.ExceptionInInitializerError
> Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class
'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
>         at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)
>         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
>         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
>         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
>         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.<clinit>(DataNode.java:170)
> Could not find the main class: org.apache.hadoop.hdfs.server.datanode.DataNode.  Program
will exit.
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message