I am trying to migrate a table from teradata to BQ using GCP's Data Transfer functionality. I have following the steps suggested on https://cloud.google.com/bigquery-transfer/docs/teradata-migration.
A detailed description of the steps is below:
- The APIs suggested on the aobove were enabled.
- A pre-existing GCS bucket, BigQuery DataSet and GCP Service Account was used in this process.
- Google SDK setup was completed on the device.
- Google Cloud service account key was set to an environment variable called GOOGLE_APPLICATION_CREDENTIALS.
- BigQuery Data Transfer was set up.
- Initialized the migration agent
- On the command line, a command to run the jar file was issued, with some particular flags e.g. java -cp C:\migration\tdgssconfig.jar;C:\migration\terajdbc4.jar;C:\migration\mirroring-agent.jar com.google.cloud.bigquery.dms.Agent --initialize
- When prompted, the required parameters were entered.
- When prompted for a BigQuery Data Transfer Service Resource name was entered using the data transfer config from GCP.
- After entering all the requested parameters, the migration agent creates a configuration file and puts it into the local path provided in the parameters.
- Run the migration agent
- The following command was executed by using the classpath to the JDBC drivers and path to the configuration file created in the previous initialization step e.g. java -cp C:\migration\tdgssconfig.jar;C:\migration\terajdbc4.jar;C:\migration\mirroring-agent.jar com.google.cloud.bigquery.dms.Agent --configuration-file=config.json
- At this point, an error was faced which said “Unable to start tbuild command”. Below is a screenshot of the error:
Following steps were taken to try to resolve this error using steps given here:
- Teradata Parallel Transporter was installed using Teradata Tools and Utilities.
- No bin file was found for the installation.
Below is a screenshot of the error message: Exception in thread "main" com.google.cloud.bigquery.dms.common.exceptions.AgentException: Unable to start tbuild command