Applier Replicator Service
The applier replicator service reads information from the THL of the source and applies this to a local instance of Hadoop.
Installation must take place on a node within the Hadoop cluster. Writing to a remote HDFS filesystem is not currently supported.
Before installing the applier, the following additions need adding to the extractor configuration. Apply the following parameters, update the extractor and then install the applier
Add the following to
/etc/tungsten/tungsten.ini[alpha]...enable-batch-service=trueenable-heterogeneous-service=trueshell> tpm updateThe applier can now be configured.
Unpack the Tungsten Replicator distribution in a staging directory:
shell> tar zxf tungsten-replicator-8.0.4-132.tar.gzChange into the staging directory:
shell> cd tungsten-replicator-8.0.4-132Create the
/etc/tungsten/tungsten.iniusing the example below as a template.Example tungsten.ini[defaults]user=tungsteninstall-directory=/opt/continuentprofile-script=~/.bash_profileskip-validation-check=HostsFileCheckskip-validation-check=InstallerMasterSlaveCheckskip-validation-check=DatasourceDBPortskip-validation-check=DirectDatasourceDBPortskip-validation-check=ReplicationServicePipelinesrest-api-admin-user=apiuserrest-api-admin-password=secretreplicator-rest-api-address=0.0.0.0[alpha]master=host1members=host2property=replicator.datasource.global.csvType=hiveproperty=replicator.stage.q-to-dbms.blockCommitInterval=1sproperty=replicator.stage.q-to-dbms.blockCommitRowCount=1000replication-password=secretreplication-user=tungstenbatch-enabled=truebatch-load-language=jsbatch-load-template=hadoopdatasource-type=fileShow argument definitions
user=tungstenOS System User, for example tungsten. DO NOT use root.install-directory=/opt/continuentInstallation directory.profile-script=~/.bash_profileAppend commands to include env.sh in this profile script.skip-validation-check=ReplicationServicePipelinesDo not run the specified validation check.skip-validation-check=ReplicationServicePipelinesDo not run the specified validation check.skip-validation-check=ReplicationServicePipelinesDo not run the specified validation check.skip-validation-check=ReplicationServicePipelinesDo not run the specified validation check.skip-validation-check=ReplicationServicePipelinesDo not run the specified validation check.rest-api-admin-user=apiuserSpecify the initial Admin Username for API access.Available from v7.0.0rest-api-admin-password=secretSpecify the initial Admin User Password for API access.rest-api-admin-passwordalias only available from version 7.1.2 onwards.Available from v7.0.0replicator-rest-api-address=0.0.0.0Address for the API to bind too.Available from v7.0.0Once the prerequisites and configuring of the installation has been completed, the software can be installed:
shell> ./tools/tpm install
If the installation process fails, check the output of the /tmp/tungsten-configure.log file for more information about
the root cause.
Once the service has been installed it can be monitored using the trepctl command. See "Management and Monitoring of Hadoop Deployments" for more information. If
there are problems during installation, see "Troubleshooting Hadoop Replication".