java.lang.IllegalArgumentException: Could not create SimpleDateFormat (Doc ID 1452679.1)

Last updated on JUNE 05, 2017

Applies to:

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

Symptoms

 Running a job with Oracle Loader for Hadoop and receiving the following exception:

 

java.lang.IllegalArgumentException:   Could not create SimpleDateFormat yyyx/MM/dd HH:mm:ss for column D3
          at oracle.hadoop.loader.DateColumn.init(DBColumn.java:995)
          at oracle.hadoop.loader.DBColumn.newDBColumn(DBColumn.java:169)
          at   oracle.hadoop.loader.OraLoaderRecord$OraRecordWritable.<init>(OraLoaderRecord.java:440)
          at   oracle.hadoop.loader.OraLoaderRecord.parse(OraLoaderRecord.java:254)
          at   oracle.hadoop.loader.OraLoaderRecord.parse(OraLoaderRecord.java:247)
          at   oracle.hadoop.loader.OraLoaderMapper.setLoaderKey(OraLoaderMapper.java:263)
          at oracle.hadoop.loader.OraLoaderMapper.map(OraLoaderMapper.java:192)
          at oracle.hadoop.loader.OraLoaderMapper.run(OraLoaderMapper.java:254)
          at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:647)
          at org.apache.hadoop.mapred.MapTask.run(MapTask.java:323)
          at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.Subject.doAs(Subject.java:396)
          at org.apache.hadoop.security.Us

        

 

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