Amandeep Khurana wrote:
I'm getting the following error while starting a MR job:
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver
at
org.apache.hadoop.mapred.lib.db.DBInputFormat.configure(DBInputFormat.java:297)
... 21 more
Caused
I meet the question also, resolved by transfer a class name to JobConf
constructor.
If you new the
*JobConf,you must transfer a class name to it.*
2009/6/27 Amandeep Khurana
> I'm getting the following error while starting a MR job:
>
> Caused by: java.lang.RuntimeException: java.lang.ClassNo
I'm getting the following error while starting a MR job:
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver
at
org.apache.hadoop.mapred.lib.db.DBInputFormat.configure(DBInputFormat.java:297)
... 21 more
Caused by: java.lang.ClassNotFoun