Create directories and configure ownership + permissions on the appropriate hosts as described below.
If any of these directories already exist, we recommend deleting and recreating them. Use the following instructions to set up Pig configuration files:
We strongly suggest that you edit and source the files you downloaded in Download Companion Files.
Alternatively, you can also copy the contents to your
~/.bash_profile) to set up these environment variables in your environment.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;
where:
$HIVE_LOG_DIRis the directory for storing theHive Server logs.This directory name is a combination of a directory and the
$HIVE_USER.$HIVE_USERis the user owning the Hive services. For example,hive.$HADOOP_GROUPis a common group shared by services. For example,hadoop.

