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 1.1.0.0.0 and later
Linux x86-64

Symptoms

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(OraLoader.java:291)
        at oracle.hadoop.loader.OraLoader.run(OraLoader.java:369)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at oracle.hadoop.loader.OraLoader.mainWithExceptions(OraLoader.java:931)
        at oracle.hadoop.loader.OraLoader.main(OraLoader.java:941)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Caused by: java.lang.ClassNotFoundException: oracle.i18n.text.OraDateFormat
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 10 more

 

Cause

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