Status: New
Owner: ----
Labels: Type-Defect Priority-Medium FoundIn
New issue 1100 by
gayathri...@gmail.com: Event extraction failed
https://code.google.com/p/tungsten-replicator/issues/detail?id=1100
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
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings