Install the Hyper-Q Software
To install the Hyper-Q software, perform the following steps:
Perform the following steps in a directory other than
/opt/datometry/*
.Copy the
hyperq-version-bigquery.tar.gz
to the Hyper-Q VM.Uncompress the file.
$ tar xvf hyperq-version-bigquery.tar.gz
This creates the following RPM files:
hyperq-version.x86_64.rpm
hyperq-monitors-version.x86_64.rpm
hyperq-bigquery-version.x86_64.rpm
hyperq-system-version.x86_64.rpm
Install the software packages as superuser, replacing the version placeholder with the actual version number of the Hyper-Q software.
$ sudo yum install hyperq-version.x86_64.rpm hyperq-monitors-version.x86_64.rpm hyperq-bigquery-version.x86_64.rpm hyperq-system-version.x86_64.rpm
Results
The installation process performs the following steps:
Creates the group dtm and a user ID dtm at the OS level.
Installs all binaries and support files under the directory
/opt/datometry
.Creates the Linux service dtm within the system.
Note
The installation creates the dtm service, however, it does not enable automatically starting the service after a reboot. To enable automatically starting the dtm service, see Configure Hyper-Q to Start Automatically at Boot Time.
Adjusts system controls by installing the file
/etc/sysctl.d/dtm.conf
and applies its configuration settings to the Hyper-Q VM. Changes take effect immediately without requiring a reboot.Installs Google BigQuery Python 2 modules. A list of modules can be found at:
/opt/datometry/dtm/lib/dtm-1.0/priv/requirements.txt
What to do Next
After you install the Hyper-Q software, you must install the Hyper-Q user defined functions (UDFs). Installing the UDFs is an integral part of a successful Hyper-Q installation. To learn how to install the UDFs, see Install Hyper-Q User Defined Functions for Google BigQuery.