incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1327193 - /incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
Date Tue, 17 Apr 2012 17:28:58 GMT
Author: rvs
Date: Tue Apr 17 17:28:58 2012
New Revision: 1327193

URL: http://svn.apache.org/viewvc?rev=1327193&view=rev
Log:
BIGTOP-535. add httpfs config property pointing to hadoop conf dir

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1327193&r1=1327192&r2=1327193&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Tue Apr 17
17:28:58 2012
@@ -320,6 +320,11 @@ cp -r ${BUILD_DIR}/share/hadoop/httpfs/t
 chmod 644 ${HTTPFS_DIR}/conf/*
 install -d -m 0755 $HTTPFS_ETC_DIR/conf.empty
 mv $HADOOP_ETC_DIR/conf.empty/httpfs* $HTTPFS_ETC_DIR/conf.empty
+sed -i -e '/<\/configuration>/i\
+  <property>\
+    <name>httpfs.hadoop.hdfs.configuration.dir</name>\
+    <value>/etc/hadoop/conf</value>\
+  </property>' $HTTPFS_ETC_DIR/conf.empty/httpfs-site.xml
 
 # Make the pseudo-distributed config
 for conf in conf.pseudo ; do



Mime
View raw message