zxs / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 0 forks source link

Oracle To MySQL Provisioning #1042

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Installed Tungsten replicator 2.2.1 with oracle as Master and MySQL as 
slave. 2. Trying to do the initial provisioning on a large oracle DB to MySQL DB

What is the expected output?
Initial provisioning should be successful

...

What do you see instead?
INFO   | jvm 1    | 2014/10/22 10:46:22 | 
com.continuent.tungsten.replicator.ReplicatorException: Unable to fetch last 
event from THL: seqno=568
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.THLStoreApplier.getLastEvent(THLStoreAppl
ier.java:309)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.pipeline.SingleThreadStageTask.apply(SingleTh
readStageTask.java:772)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.pipeline.SingleThreadStageTask.runTask(Single
ThreadStageTask.java:503)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.pipeline.SingleThreadStageTask.run(SingleThre
adStageTask.java:177)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
java.lang.Thread.run(Thread.java:722)
INFO   | jvm 1    | 2014/10/22 10:46:22 | Caused by: 
com.continuent.tungsten.replicator.thl.THLException: Failed to read file header 
from  /opt/continuent/thl/rtvnx_owner/thl.data.0000000013
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.log.LogFile.checkFileHeader(LogFile.java:
355)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.log.LogFile.openRead(LogFile.java:205)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.log.LogConnection.seek(LogConnection.java
:237)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.log.LogConnection.seek(LogConnection.java
:436)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.THLStoreApplier.getLastEvent(THLStoreAppl
ier.java:280)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       ... 4 more
INFO   | jvm 1    | 2014/10/22 10:46:22 | Caused by: java.io.EOFException
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
java.io.DataInputStream.readInt(DataInputStream.java:392)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.common.io.BufferedFileDataInput.readInt(BufferedFileData
Input.java:273)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       at 
com.continuent.tungsten.replicator.thl.log.LogFile.checkFileHeader(LogFile.java:
348)
INFO   | jvm 1    | 2014/10/22 10:46:22 |       ... 8 more

...

What version of the product are you using?
Tungsten replicator 2.2.1

...

On what operating system?
CentOS
...

Please provide any additional information below.
We tried with single threads multi-threads but provisioning is not going 
through.

Attached the complete error log
Notes:

...

Original issue reported on code.google.com by inderp...@gmail.com on 22 Oct 2014 at 3:13

Attachments:

GoogleCodeExporter commented 9 years ago
This is not a bug yet and doesn't contain enough detail. Please post to the 
discussion group for assistance. We can file a bug if there is one afterwards.

Original comment by linas.vi...@continuent.com on 30 Oct 2014 at 9:29