Closed GoogleCodeExporter closed 9 years ago
This issue was closed by revision r2220.
Original comment by robert.h...@continuent.com
on 9 May 2014 at 1:34
This is now fixed.
1. The hadoop.js script writes CSV files to a separate directory for each
replication service. For example if replication service batch1 is writing data
it will by default write everything to /user/tungsten/staging/batch1.
2. The Velocity templates are updated to add the service name to the file
location for staging data as well as to prepend it to generated schema names.
Here is an example invocation to generate schema definitions:
/opt/continuent/tungsten/tungsten-replicator/bin/ddlscan -template
ddl-mysql-hive-0.10-staging.vm -user tungsten -pass secret -url
jdbc:mysql:thin://logos1:3306/croc -db croc -opt hdfsStagingDir
/user/tungsten/staging/batch1 -opt schemaPrefix batch1_
3. Old loading behavior is still available in script hadoop_single.js. It
ignores the service name as hadoop.js used to.
WARNING: This will change the behavior of existing replicators. Users should
also get the latest version of the continuent-tools-hadoop utilities on Github,
which is updated to accommodate this new behavior.
(https://github.com/continuent/continuent-tools-hadoop)
To test behavior set up two Tungsten master replicator services that replicate
into a single replicator process with slave services for each master. Put load
on both source DBMS systems and observe that data load correctly for each
service. You can use the Github tools to check data independently for each
service to ensure that they are consistent.
Original comment by robert.h...@continuent.com
on 9 May 2014 at 1:46
Verified with build 3.0.0-376. Installed a fan-in topology, put some load and
check the data.
Original comment by csaba.si...@continuent.com
on 22 Sep 2014 at 6:38
The documentation has been updated to reflect this difference
Original comment by mc.br...@continuent.com
on 13 Oct 2014 at 9:41
Original issue reported on code.google.com by
robert.h...@continuent.com
on 6 May 2014 at 7:53