incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1199445 - /incubator/accumulo/trunk/conf/accumulo-env.sh.example
Date Tue, 08 Nov 2011 20:36:30 GMT
Author: ecn
Date: Tue Nov  8 20:36:30 2011
New Revision: 1199445

URL: http://svn.apache.org/viewvc?rev=1199445&view=rev
Log:
ACCUMULO-127 explain some of the typical problems setting the environment up

Modified:
    incubator/accumulo/trunk/conf/accumulo-env.sh.example

Modified: incubator/accumulo/trunk/conf/accumulo-env.sh.example
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/conf/accumulo-env.sh.example?rev=1199445&r1=1199444&r2=1199445&view=diff
==============================================================================
--- incubator/accumulo/trunk/conf/accumulo-env.sh.example (original)
+++ incubator/accumulo/trunk/conf/accumulo-env.sh.example Tue Nov  8 20:36:30 2011
@@ -15,10 +15,23 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-test -z "$JAVA_HOME"              && export JAVA_HOME=$JAVA_HOME
-test -z "$HADOOP_HOME"            && export HADOOP_HOME=$HADOOP_LOCATION
+###
+### Configure these environment variables to point to your local installations.
+###
+### The functional tests require conditional values, so keep this style:
+###
+### test -z "$JAVA_HOME" && export JAVA_HOME=/usr/local/lib/jdk-1.6.0
+###
+###
+### Note that the -Xmx -Xms settings below require substantial free memory: 
+### you may want to use smaller values, especially when running everything
+### on a single machine.
+###
+
+test -z "$JAVA_HOME"             && export JAVA_HOME=$JAVA_HOME
+test -z "$HADOOP_HOME"           && export HADOOP_HOME=$HADOOP_LOCATION
 test -z "$ACCUMULO_LOG_DIR"      && export ACCUMULO_LOG_DIR=$ACCUMULO_HOME/logs
-test -z "$ZOOKEEPER_HOME"         && export ZOOKEEPER_HOME="$ZOOKEEPER_HOME"
+test -z "$ZOOKEEPER_HOME"        && export ZOOKEEPER_HOME="$ZOOKEEPER_HOME"
 if [ -f ${ACCUMULO_HOME}/conf/accumulo.policy ]
 then
    POLICY="-Djava.security.manager -Djava.security.policy=${ACCUMULO_HOME}/conf/accumulo.policy"



Mime
View raw message