The scripts.zip
file you downloaded in Download Companion Files includes two scripts, usersAndGroups.sh
and
directories.sh,
for setting environment parameters. We strongly suggest you edit
and source (alternatively, you can also copy the contents to your
~/.bash_profile
) to set up these environment variables in your environment. See
Define Environment Parameters for more information.
Execute these commands on your WebHCat server machine to create log and pid directories.
mkdir -p $WEBHCAT_LOG_DIR chown -R $WEBHCAT_USER:$HADOOP_GROUP $WEBHCAT_LOG_DIR chmod -R 755 $WEBHCAT_LOG_DIR
mkdir -p $WEBHCAT_PID_DIR chown -R $WEBHCAT_USER:$HADOOP_GROUP $WEBHCAT_PID_DIR chmod -R 755 $WEBHCAT_PID_DIR