Oracle Loader For Hadoop Job Fails with Java.lang.NumberFormatException

(Doc ID 1938756.1)

Last updated on OCTOBER 11, 2016

Applies to:

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


Using Oracle Loader for Hadoop(OLH) in online mode on Oracle Big Data Appliance. While performing load data from HDFS directly to tables in Exadata database using OLH fails for big tables (for which a big tablespace is allocated) with below error:

INFO loader.OraLoader: Oracle Loader for Hadoop Release 2.3.1 - Production

Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.

14/08/18 11:18:32 INFO loader.OraLoader: Built-Against: hadoop-2.0.0-cdh4.4.0 hive-0.10.0-cdh4.4.0 avro-1.7.3 jackson-1.8.8
14/08/18 11:18:32 INFO utils.OraLoaderConf: property "oracle.hadoop.loader.loaderMapFile" is deprecated; use "oracle.hadoop.loader.loaderMap.*" instead
java.lang.NumberFormatException: For input string: "2151008785"
        at java.lang.NumberFormatException.forInputString(
        at java.lang.Integer.parseInt(
        at java.lang.Integer.parseInt(
        at oracle.hadoop.loader.metadata.Storage.endElement(
        at oracle.hadoop.loader.metadata.HandlerDelegator.endElement(

The error in OLH seems to happen because it cannot manage this number: 2151008785 for being too long and this number is included in the target table metadata.


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