Using the QKBPUSH.SH Script

The qkbpush.sh script is located in the <SASEPHome>/SAS/SASTKInDatabaseServerForHadoop/9.42-1/bin directory of your In-Database Technologies package installation. It can be run at any time to put a new QKB in the cluster. However, the SAS Embedded Process must be restarted afterward for the changes to take effect. You must execute the script from the <SASEPHome> directory.
The following are sample commands:
  • To automatically deploy the QKB to all nodes in the Hadoop cluster, execute:
    qkbpush.sh qkb_path
  • To deploy to one or more nodes on a command line, execute:
    qkbpush.sh -h hostname1 [-h hostname2] qkb_path
  • To deploy using a file containing a list of node names, execute:
    qkbpush.sh -f hostfile qkb_path
  • To deploy to one or more nodes on a command line and suppress QKB index creation, execute:
    qkbpush.sh -i -h hostname1 [-h hostname2] qkb_path
For qkb_path, specify the path to the QKB source directory. See QKBPUSH.SH: Reference for syntax details.