Author: vines
Date: Tue May 15 21:41:36 2012
New Revision: 1338906

URL: http://svn.apache.org/viewvc?rev=1338906&view=rev
Log:
ACCUMULO-585 - Not quite complaining loudly, but being helpful (but obstructive)


Modified:
    accumulo/branches/1.4/bin/config.sh

Modified: accumulo/branches/1.4/bin/config.sh
URL: 
http://svn.apache.org/viewvc/accumulo/branches/1.4/bin/config.sh?rev=1338906&r1=1338905&r2=1338906&view=diff
==============================================================================
--- accumulo/branches/1.4/bin/config.sh (original)
+++ accumulo/branches/1.4/bin/config.sh Tue May 15 21:41:36 2012
@@ -35,6 +35,10 @@ export ACCUMULO_HOME=`cd $ACCUMULO_HOME;
 
 if [ -f $ACCUMULO_HOME/conf/accumulo-env.sh ] ; then
 . $ACCUMULO_HOME/conf/accumulo-env.sh
+else
+  echo "${ACCUMULO_HOME}/conf/accumulo-env.sh does not exist. Please make sure 
you configure Accumulo before you run anything"
+  echo "We provide examples you can copy in ${ACCUMULO_HOME}/conf/examples/ 
which are set up for your memory footprint"
+  exit 1
 fi
 
 if [ -z ${ACCUMULO_LOG_DIR} ]; then


Reply via email to