goldengate big data initial load replication error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

goldengate big data initial load replication error

Roshan
Hi Erman,

I followed the steps in Big Data Initial load for Kafka / HBase ( Doc ID 2370098.1 ) to configure my initial load.

I am getting error attached on report file when executing the initial load extract on source.

Report file of intial extract:
INI_EXT.rpt

Report file of replicat:
TARGET_IRMONGO.rpt

Kindly advise.

Regards,

Roshan
Reply | Threaded
Open this post in threaded view
|

Re: goldengate big data initial load replication error

ErmanArslansOracleBlog
Administrator
This seems like a classpath issue..
It seems you are reading mongodb and you have the following ->
java.lang.ClassNotFoundException: org.bson.types.Decimal128

Did you set the classpath properties of Goldengate correctly? I mean did you include the mongo related files in the classpath?
For instance -> gg.classpath=/path/to/mongo-java-driver-3.2.2.jar:/path/to/ogg-mongodb-adapter-1.0.jar:

org.bson.types.Decimal128 :
A binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range of -6143 to +6144.

It seems it is included in the mongo java driver -> https://mongodb.github.io/mongo-java-driver/3.9/javadoc/org/bson/types/Decimal128.html

The following MOS note describe an issue and it looks like yours..  It is a little different , but will give you the general idea ->

Replicat For MongoDB Abends With ERROR OGG-15051 Java or JNI exception: (Doc ID 2186038.1)
Reply | Threaded
Open this post in threaded view
|

Re: goldengate big data initial load replication error

Roshan
Thanks Erman. According to Oracle, mongo-java-driver 3.9 should be used. Error is gone now.
Reply | Threaded
Open this post in threaded view
|

Re: goldengate big data initial load replication error

ErmanArslansOracleBlog
Administrator
Good :)