Create /tmp in HDFS for Pig
---------------------------

                 Key: WHIRR-190
                 URL: https://issues.apache.org/jira/browse/WHIRR-190
             Project: Whirr
          Issue Type: Improvement
          Components: service/hadoop
            Reporter: Tom White
             Fix For: 0.3.0


This is easily done by adding the following to the post-configure script (also 
includes creating the Hive warehouse directory):

{code}
# 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"
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to