2. Set Directories and Permissions

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 execute these scripts to fit your environment. See Define Environment Parameters for more information.

 2.1. Create Log Directories

Execute these commands on the Hive server machine:

mkdir -p $HIVE_LOG_DIR
chown -R $HIVE_USER:$HADOOP_GROUP $HIVE_LOG_DIR
chmod -R 755 $HIVE_LOG_DIR

loading table of contents...