zxs / tungsten-replicator

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

Event extraction failed #1100

Closed GoogleCodeExporter closed 9 years ago

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

1.Downloaded and installed tungsten as below
  git clone https://github.com/tazija/tungsten-replicator
  cd tungsten-replicator/builder/
  ./build.sh

2..
Use below to enable replication in mysql
./build/tungsten-replicator-2.1.0/tools/tungsten-installer \
--master-slave \
--advanced \
--master-host=127.0.0.1 \
--datasource-type=mysql \
--datasource-port=3306 \
--datasource-user=<MYSQL_USER> \
--datasource-password=<MYSQL_PASSWORD> \
--service-name=replicator \
--cluster-hosts=127.0.0.1 \
--home-directory=/opt/tungsten/extractor \
--rmi-port=10001 \
--thl-port=12001 \
--skip-validation-check=MySQLPermissionsCheck \
--skip-validation-check=InstallerMasterSlaveCheck \
--java-file-encoding=UTF8 \
--mysql-enable-settostring=true \
--mysql-enable-enumtostring=true \
--mysql-use-bytes-for-string=false \
--svc-parallelization-type=none \
--start-and-report
3.Replicator is OFFLINE:ERROR
Atleast one replication failed.

What is the expected output?

Replicator has to go online.

What do you see instead?
trepctl status shows the below:-

./build/tungsten-replicator-2.1.0/tungsten-replicat                             
      or/bin/trepctl -port 10000 status
Processing status command...
NAME                     VALUE
----                     -----
appliedLastEventId     : NONE
appliedLastSeqno       : -1
appliedLatency         : -1.0
channels               : -1
clusterName            : default
currentEventId         : NONE
currentTimeMillis      : 1425420517540
dataServerHost         : 127.0.0.1
extensions             :
latestEpochNumber      : -1
masterConnectUri       :
masterListenUri        : thl://127.0.0.1:12001/
maximumStoredSeqNo     : -1
minimumStoredSeqNo     : -1
offlineRequests        : NONE
pendingError           : Event extraction failed
pendingErrorCode       : NONE
pendingErrorEventId    : NONE
pendingErrorSeqno      : -1
pendingExceptionMessage: Failed to extract from log-bin.001056 (347)
pipelineSource         : UNKNOWN
relativeLatency        : -1.0
resourcePrecedence     : 99
rmiPort                : 10000
role                   : master
seqnoType              : java.lang.Long
serviceName            : replicator
serviceType            : unknown
simpleServiceName      : replicator
siteName               : default
sourceId               : 127.0.0.1
state                  : OFFLINE:ERROR
timeInStateSeconds     : 688.255
transitioningTo        :
uptimeSeconds          : 2493.921
version                : Tungsten Replicator 2.1.0
Finished status command...

What version of the product are you using?

Tungsten-replicator 2.1.0

On what operating system?
Linux Red Hat

Please provide any additional information below.

Notes:

Additionally I note the following:-
1)The extractor puts the bin-log in extractor/relay. But fails after that.
2) user.log file is empty always. there is not trepsvc.log file.

Am I missing something anywhere? I've tried installing it several times.

Thanks

Original issue reported on code.google.com by gayathri...@gmail.com on 3 Mar 2015 at 10:15

GoogleCodeExporter commented 9 years ago
You have not installed Tungsten Replicator, but a clone of a VERY old version 
made by someone else.

Please get a recent Tungsten replicator from 
https://code.google.com/p/tungsten-replicator/wiki/Downloads?tm=2, using the 
documentation available at http://docs.continuent.com 

Original comment by g.maxia on 3 Mar 2015 at 10:20