Tags

,

Make sure that you have completed the following tasks before running the installation script:

  • Make sure you have rpmgpssh and gpscp in your PATH.
  • Make sure that you have HAWQ binaries installed properly on all master and segment nodes in your cluster (also new segment nodes when adding new nodes).
  • Add hawq_install.sh to your PATH  from https://github.com/madlib/madlib/blob/master/deploy/hawq_install.sh
  • Make sure the HOSTFILE lists all the new segment nodes.

Integration with HAWQ

From the HAWQ master run.

#sh hawq_install.sh -r /usr/local/src/madlib-1.6-Linux.rpm -f hawqsegs.txt -d /usr/local/hawq/

The file hawqsegs.txt should contain all the hawq segment servers

-d option sets  $GPHOME

Download the madlib rpm from http://madlib.net/download/

Once installation is completed we need to register. For that execute the following command.

/usr/local/hawq/madlib/bin/madpack install -p hawq -c gpadmin@hawqmaster:5432/dbname

Advertisements