whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Created: (WHIRR-190) Create /tmp in HDFS for Pig
Date Tue, 04 Jan 2011 06:02:50 GMT
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.


Mime
View raw message