Configure Hyper-Q for Use with Google BigQuery
The configuration parameters for Hyper-Q are in the file /opt/datometry/config/dtm.ini
. Modify the following lines to configure Hyper-Q for use with the BigQuery environment.
Note: All string values on the left-hand side of an assignment in the dtm.ini
configuration file must be enclosed in double quotes. For example: "DTM_MDS_USER"
.
For an example of a dtm.ini
configuration file, see Example Hyper-Q Configuration File for Google BigQuery.
As super user, log in as the dtm user.
$ sudo su -dtm
Open the
/opt/datometry/config/dtm.ini
configuration file in a text editor.In the
[endpoints]
section, locate the line below and replacebigquery_project_id
with your BigQuery project ID."endpoint".database = bigquery_project_id
In the
[gateways]
section, locate the line below and replacebigquery_project_id
with your BigQuery project ID."gateway".gpc_project_id = bigquery_project_id
In the
[metadata_stores]
section, locate the lines below and replacebigquery_project_id
,bigquery_username
, andbigquery_user_password
with the name of your Google Cloud BigQuery project ID, and the username and password to be used to access Metadata Store."mdstore".database = bigquery_project_id "mdstore".user = bigquery_username "mdstore".password = bigquery_user_password