Skip to content

Commit

Permalink
fixes to accomodate naming convention/location changes
Browse files Browse the repository at this point in the history
-dist -> -bin in .tar.gz generated from trunk
apache- prefix removed from dir names + tar.gz
  • Loading branch information
24601 committed Jun 6, 2013
1 parent 410dfc3 commit 3724080
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stackscript
Expand Up @@ -169,17 +169,17 @@ echo "Compiled accumulo"

# Make the lib/ext directory group writeable so that you can deply jar files there.
cd /usr/local
tar xfz /home/accumulo/workspace/accumulo/assemble/target/apache-accumulo-1.6.0-SNAPSHOT-dist.tar.gz
tar xfz /home/accumulo/workspace/accumulo/assemble/target/accumulo-1.6.0-SNAPSHOT-bin.tar.gz

# Compile the native libraries
cd /usr/local/apache-accumulo-1.6.0-SNAPSHOT/server/src/main/c++
cd /usr/local/accumulo-1.6.0-SNAPSHOT/server/src/main/c++
make
echo "Compiled navtive library"

chown -R accumulo:accumulo /usr/local/apache-accumulo-1.6.0-SNAPSHOT
chown -R accumulo:accumulo /usr/local/accumulo-1.6.0-SNAPSHOT
# remove symbolic link and then create it.
rm -f /usr/local/accumulo
ln -s /usr/local/apache-accumulo-1.6.0-SNAPSHOT /usr/local/accumulo
ln -s /usr/local/accumulo-1.6.0-SNAPSHOT /usr/local/accumulo

su accumulo -c "mkdir -p /usr/local/accumulo/lib/ext"
su accumulo -c "mkdir -p /usr/local/accumulo/logs"
Expand Down Expand Up @@ -208,4 +208,4 @@ echo "starting accumulo"
su accumulo -c "/usr/local/accumulo/bin/start-all.sh"

date +"%Y/%m/%d %H:%M:%S"
echo "- END ------------"
echo "- END ------------"

0 comments on commit 3724080

Please sign in to comment.