Generating Materialized Views
continuent-tools-hadoop are packaged within the main Tungsten Replicator software bundle and can be found
within ./tungsten-replicator/support/hadoop-tools
The load-reduce-check command performs four distinct steps:
- Reads the schema from the MySQL server and creates the staging table DDL within Hive
- Reads the schema from the MySQL server and creates the base table DDL within Hive
- Executes the materialized view process on each selected staging table data to build the base table content.
- Performs a data comparison
shell> ./bin/load-reduce-check -s test -Ujdbc:mysql:thin://tr-hadoop2:13306 -udbload -ppassword