Oracle Loader Command Failed with Error: loader.OraLoader: Built-Against: not available and java.lang.NoClassDefFoundError: oracle/i18n/text/OraDateFormat

(Doc ID 1559841.1)

Last updated on JUNE 09, 2013

Applies to:

Oracle Loader for Hadoop - Version and later
Linux x86-64


Running an Oracle Loader for Hadoop  job such as the following failed with the following error:

$ hadoop jar ${OLH_HOME}/jlib/oraloader.jar oracle.hadoop.loader.OraLoader -D mapred.reduce.tasks=3 -conf /u01/working/myconf.xml

13/06/06 09:00:50 INFO loader.OraLoader: Built-Against: not available
java.lang.NoClassDefFoundError: oracle/i18n/text/OraDateFormat
        at oracle.hadoop.loader.OraLoader.checkJob(
        at oracle.hadoop.loader.OraLoader.mainWithExceptions(
        at oracle.hadoop.loader.OraLoader.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(
Caused by: java.lang.ClassNotFoundException: oracle.i18n.text.OraDateFormat
        at Method)
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 10 more



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms