Make sure that you have completed the following tasks before running the installation script:
- Make sure you have
- 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).
- Make sure the
HOSTFILElists 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