Status: New
Owner: ----
Labels: Type-Defect Priority-Medium FoundIn
New issue 1099 by
estebanf...@gmail.com: Oracle extractor problem
https://code.google.com/p/tungsten-replicator/issues/detail?id=1099
What steps will reproduce the problem?
1. ./setupCDC.sh with the following config file
service=SCHEMAAPP
sys_user=sys
sys_pass="syspwd2015"
enable_archivelog=0
source_user=W_SRC_SCHEMAAPP
pub_tablespace=0
pub_user=W_PUB_SCHEMAAPP
pub_password=shouldrandom
tungsten_user=W_USR_SCHEMAAPP
tungsten_pwd=shouldrandom
delete_publisher=1
delete_subscriber=1
cdc_type=HOTLOG_SOURCE
specific_tables=0
specific_path=
2. tpm install SCHEMAAPP \
--datasource-oracle-service="SRCDB" \
--datasource-type=oracle \
--master=172.16.1.3 \
--members=172.16.1.3 \
--property=replicator.extractor.dbms.transaction_frag_size=10 \
--property=replicator.global.extract.db.password=shouldrandom \
--property=replicator.global.extract.db.user=W_USR_SCHEMAAPP \
--replication-host=172.16.1.3 \
--replication-password=shouldrandom \
--replication-port=1521 \
--replication-user=W_PUB_SCHEMAAPP \
--role=master \
--start-and-report=true \
--svc-table-engine=CDCASYNC \
--rmi-port=10000 \
--thl-port=2112 \
--install-directory=/opt/continuent/master/SRCDB/SCHEMAAPP
Which gives me the following output
NOTE >> Data service(s) schemaapp updated in
/opt/continuent/tungsten-replicator-3.0.0-524/deploy.cfg
............................
WARN >> 172_16_1_3 >> Linux swappiness is currently set to 60, on restart
it will be 60, consider setting this to 10 or under to avoid swapping. (
SwappinessCheck)
........................................................
Getting replication status on 172.16.1.3
.......
ERROR >> 172_16_1_3 >> Failed:
/opt/continuent/master/srcdb/SCHEMAAPP/releases/tungsten-replicator-3.0.0-524_pid44584/tungsten-replicator/bin/trepc
tl -port 10000 services, RC: 1, Result: ..........Operation failed: null,
No STDERR
#####################################################################
# Commitment failed
#####################################################################
#####################################################################
# Errors for 172_16_1_3
#####################################################################
ERROR >> 172_16_1_3 >> Failed:
/opt/continuent/master/srcdb/SCHEMAAPP/releases/tungsten-replicator-3.0.0-524_pid44584/tungsten-replicator/bin/trepc
tl -port 10000 services, RC: 1, Result: ..........Operation failed: null,
No STDERR
NOTE >> Check the status of all hosts before taking action
.....
Expected output
Run the replicators without any issue
...
Actual output:
com.continuent.tungsten.replicator.ReplicatorException: Failed to execute
query BEGIN DBMS_CDC_SUBSCRIBE.CREATE_SUBSCRIPTION(change_set_name
=> 'TUNGSTEN_CS_SCHEMAAPP', description => 'Change data used by Tungsten',
subscription_name => 'TUNGSTEN_SUB_SCHEMAAPP');end;
INFO | jvm 1 | 2015/02/27 13:02:27 | at
com.continuent.tungsten.replicator.extractor.oracle.OracleCDCReaderThread.executeQuery(OracleCDCReaderThread.java:379)
INFO | jvm 1 | 2015/02/27 13:02:27 | at
com.continuent.tungsten.replicator.extractor.oracle.OracleCDCReaderThread.executeQuery(OracleCDCReaderThread.java:413)
INFO | jvm 1 | 2015/02/27 13:02:27 | at
com.continuent.tungsten.replicator.extractor.oracle.OracleCDCReaderThread.prepare(OracleCDCReaderThread.java:316)
INFO | jvm 1 | 2015/02/27 13:02:27 | at
com.continuent.tungsten.replicator.extractor.oracle.OracleCDCReaderExtractor.prepare(OracleCDCReaderExtractor.java:181)
INFO | jvm 1 | 2015/02/27 13:02:27 | at
com.continuent.tungsten.replicator.extractor.ExtractorWrapper.prepare(ExtractorWrapper.java:283)
INFO | jvm 1 | 2015/02/27 13:02:27 | at
com.continuent.tungsten.replicator.conf.ReplicatorRuntime.preparePlugin(ReplicatorRuntime.java:1301)
INFO | jvm 1 | 2015/02/27 13:02:27 | ... 14 more
INFO | jvm 1 | 2015/02/27 13:02:27 | Caused by: java.sql.SQLException:
SQL string is not Query
Im attaching the trepsvc.log
...
Version
Tungsten 3.0.0-524
1* select * from v$version
BANNER
CON_ID
--------------------------------------------------------------------------------
----------
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit
Production 0
PL/SQL Release 12.1.0.2.0 -
Production 0
CORE 12.1.0.2.0
Production 0
TNS for Linux: Version 12.1.0.2.0 -
Production 0
NLSRTL Version 12.1.0.2.0 -
Production 0
...
On what operating system?
cat /etc/centos-release
CentOS release 6.6 (Final)
...
Thank you!
Attachments:
trepsvc.log 31.8 KB
--
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