You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2010/03/18 01:23:09 UTC

svn commit: r924570 - /hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh

Author: apurtell
Date: Thu Mar 18 00:23:09 2010
New Revision: 924570

URL: http://svn.apache.org/viewvc?rev=924570&view=rev
Log:
make symlinks to hadoop and hbase home dirs

Modified:
    hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh

Modified: hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh?rev=924570&r1=924569&r2=924570&view=diff
==============================================================================
--- hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh (original)
+++ hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh Thu Mar 18 00:23:09 2010
@@ -90,6 +90,7 @@ done
 
 # Hadoop configuration
 
+(cd /usr/local && ln -s $HADOOP_HOME hadoop) || true
 cat > $HADOOP_HOME/conf/core-site.xml <<EOF
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
@@ -184,6 +185,7 @@ EOF
 
 # HBase configuration
 
+(cd /usr/local && ln -s $HBASE_HOME hbase) || true
 cat > $HBASE_HOME/conf/hbase-site.xml <<EOF
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>