Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This is easily done by adding the following to the post-configure script (also includes creating the Hive warehouse directory):
# Create temporary directory for Pig and Hive in HDFS $AS_HADOOP "$HADOOP_HOME/bin/hadoop fs -mkdir /tmp" $AS_HADOOP "$HADOOP_HOME/bin/hadoop fs -chmod +w /tmp" $AS_HADOOP "$HADOOP_HOME/bin/hadoop fs -mkdir /user/hive/warehouse" $AS_HADOOP "$HADOOP_HOME/bin/hadoop fs -chmod +w /user/hive/warehouse"