The qkbpush.sh script
deploys a SAS Quality Knowledge Base in a Hadoop cluster. When executed
without options, the script automatically discovers all nodes in the
cluster and deploys the QKB on them. The script also generates an
index file from the contents of the QKB and pushes this index file
to HDFS. Flags are available that enable you to deploy the QKB on
individual nodes or on a subset of nodes instead. Flags are also available
to enable you to suppress index creation or perform only index creation.
qkbpush.sh should be
run as the root user. It becomes the HDFS user in order to detect
the nodes in the cluster. It sets the QKB permissions on the Hadoop
nodes so that the QKB is owned by the default user name for the SAS
Embedded Process. Flags are available to specify the HDFS and SAS
Embedded Process user names if user names other than the defaults
were configured.
To simplify maintenance,
the QKB directory is copied to a fixed location (/opt/qkb/default
)
on each node. The QKB index file is created in the /sas/qkb
directory
in HDFS.