Return-Path: X-Original-To: apmail-incubator-accumulo-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-accumulo-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91E5B7FE6 for ; Wed, 21 Dec 2011 03:44:14 +0000 (UTC) Received: (qmail 87636 invoked by uid 500); 21 Dec 2011 03:44:14 -0000 Delivered-To: apmail-incubator-accumulo-user-archive@incubator.apache.org Received: (qmail 87557 invoked by uid 500); 21 Dec 2011 03:44:14 -0000 Mailing-List: contact accumulo-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: accumulo-user@incubator.apache.org Delivered-To: mailing list accumulo-user@incubator.apache.org Received: (qmail 87549 invoked by uid 99); 21 Dec 2011 03:44:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 03:44:13 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric.newton@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 03:44:08 +0000 Received: by wgbds11 with SMTP id ds11so27062324wgb.0 for ; Tue, 20 Dec 2011 19:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=y854ZJQnQmtDvY39jJWhHF+P/WblqmtmJUXO4aV58PI=; b=BuqE5BU7h097bhRiigkCu0ZTgOe/G3Ogz8z9hUXUIOqsfpTj5vHEBYU/P3fL93+mnP jneMX6RMHluc4fPZZSubT6UEKeq8Jn2C7RfuHLBYGz/LptL3LwXu6vY54V0wJJyoin+R hkaMc5SDhDnkFeR0sRlt95RViviWbq28j/RWA= MIME-Version: 1.0 Received: by 10.227.198.19 with SMTP id em19mr5705606wbb.14.1324439027222; Tue, 20 Dec 2011 19:43:47 -0800 (PST) Received: by 10.216.30.137 with HTTP; Tue, 20 Dec 2011 19:43:47 -0800 (PST) In-Reply-To: <20111220202553.b8ad4c0f05bab9a6b29e96ddcc2468d1.5f627653d7.wbe@email13.secureserver.net> References: <20111220202553.b8ad4c0f05bab9a6b29e96ddcc2468d1.5f627653d7.wbe@email13.secureserver.net> Date: Tue, 20 Dec 2011 22:43:47 -0500 Message-ID: Subject: Re: Request Apache Accumulo error help using Hadoop and Zookeeper in a test environment From: Eric Newton To: accumulo-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0015174be2a0be87e604b491fd02 --0015174be2a0be87e604b491fd02 Content-Type: text/plain; charset=ISO-8859-1 Here's the problem: The native libraries are not loading, which is shifting your in-memory map into the java workspace. Add to that your block cache size, and your specifications for memory use are higher than the JVM will be allowed to allocate. The tablet servers complain, and exit. You should see these complaints on the accumulo monitor web pages. You may find a benefit to rebuilding the native map library, which will move the allocation of the in-memory map to outside the JVM. This is not required. The size of any memory dedicated to cache must be smaller than the size of the JVM, which must include substantial working space for RPC calls and garbage collection over time. -Eric 20 18:20:00,999 [tabletserver.TabletServer] ERROR: Uncaught exception in TabletServer.main, exiting java.lang.IllegalArgumentException: Maximum tablet server map memory 134,217,728 and block cache sizes 186,646,528 is too large for this JVM configuration 132,579,328 at On Tue, Dec 20, 2011 at 10:25 PM, Rob Burkhard wrote: > Yes. Master and Slave files say localhost > > > -------- Original Message -------- > Subject: Re: Request Apache Accumulo error help using Hadoop and > Zookeeper in a test environment > From: Clint Green > Date: Tue, December 20, 2011 9:27 pm > To: accumulo-user@incubator.apache.org > > Do you have Accumulo masters and slaves files pointing to localhost? > On Dec 20, 2011 8:22 PM, "Eric Newton" wrote: > The client can't find servers in zookeeper... clients are trying to > talk to the tablet servers, so check the tablet server logs for errors: > > $ tail -f 100 /home/hadoop/accumulo/logs/tserver*.log > > > This is a single-host set-up, right? > > > Make sure /home/hadoop/walogs exists. > > > -Eric > > On Tue, Dec 20, 2011 at 7:36 PM, Rob Burkhard > wrote: > I am setting up a test environment using apache accumulo ver 1.4.0, > hadoop ver 0.20.2 and zookeeper ver 3.3.3. Hadoop and Zookeeper work > great together, but when I start accumulo shell using the procedures > on > apache incubator, accumulo complains: > > > 18 12:44:38,746 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:38,846 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:38,947 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:39,048 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:39,148 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:39,249 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:39,350 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > 18 12:44:39,450 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > > > I have followed the instructions carefully on accumulo-incubator and > built this several times on Centos and Ubuntu OS witht he same > results. > > I have also manipulated the memory settings with no change in > performance. Please see my Accumulo, Hadoop and Zoo configuration > files > below. > Any help would be appreciated. This is driving me crazy :) > > > > cat zoo/conf/zoo.cfg > # The number of milliseconds of each tick > tickTime=2000 > # The number of ticks that the initial > # synchronization phase can take > initLimit=10 > # The number of ticks that can pass between > # sending a request and getting an acknowledgement > syncLimit=5 > # the directory where the snapshot is stored. > dataDir=/home/hadoop/zoo/dataDir > # the port at which the clients will connect > clientPort=2181 > maxClientCnxns=100 > > > cat hadoop/conf/core-site.xml > > > > > > > > fs.default.name > hdfs://localhost:9000 > > > > > > cat hadoop/conf/hadoop-env.sh > # Set Hadoop-specific environment variables here. > > # The only required environment variable is JAVA_HOME. All others are > # optional. When running a distributed configuration it is best to > # set JAVA_HOME in this file, so that it is correctly defined on > # remote nodes. > > # The java implementation to use. Required. > export JAVA_HOME=/usr/lib/jvm/java-6-openjdk > > # Extra Java CLASSPATH elements. Optional. > # export HADOOP_CLASSPATH= > > # The maximum amount of heap to use, in MB. Default is 1000. > # export HADOOP_HEAPSIZE=2000 > > # Extra Java runtime options. Empty by default. > # export HADOOP_OPTS=-server > > # Command specific options appended to HADOOP_OPTS when specified > export HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote > $HADOOP_NAMENODE_OPTS" > export HADOOP_SECONDARYNAMENODE_OPTS="-Dcom.sun.management.jmxremote > $HADOOP_SECONDARYNAMENODE_OPTS" > export HADOOP_DATANODE_OPTS="-Dcom.sun.management.jmxremote > $HADOOP_DATANODE_OPTS" > export HADOOP_BALANCER_OPTS="-Dcom.sun.management.jmxremote > $HADOOP_BALANCER_OPTS" > export HADOOP_JOBTRACKER_OPTS="-Dcom.sun.management.jmxremote > $HADOOP_JOBTRACKER_OPTS" > # export HADOOP_TASKTRACKER_OPTS= > # The following applies to multiple commands (fs, dfs, fsck, distcp > etc) > # export HADOOP_CLIENT_OPTS > > # Extra ssh options. Empty by default. > # export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o > SendEnv=HADOOP_CONF_DIR" > > # Where log files are stored. $HADOOP_HOME/logs by default. > # export HADOOP_LOG_DIR=${HADOOP_HOME}/logs > > # File naming remote slave hosts. $HADOOP_HOME/conf/slaves by default. > # export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves > > # host:path where hadoop code should be rsync'd from. Unset by > default. > # export HADOOP_MASTER=master:/home/$USER/src/hadoop > > # Seconds to sleep between slave commands. Unset by default. This > # can be useful in large clusters, where, e.g., slave rsyncs can > # otherwise arrive faster than the master can service them. > # export HADOOP_SLAVE_SLEEP=0.1 > > # The directory where pid files are stored. /tmp by default. > # export HADOOP_PID_DIR=/var/hadoop/pids > > # A string representing this instance of hadoop. $USER by default. > # export HADOOP_IDENT_STRING=$USER > > # The scheduling priority for daemon processes. See 'man nice'. > # export HADOOP_NICENESS=10 > > > accumulo-env.sh > #! /usr/bin/env bash > > # Licensed to the Apache Software Foundation (ASF) under one or more > # contributor license agreements. See the NOTICE file distributed with > # this work for additional information regarding copyright ownership. > # The ASF licenses this file to You under the Apache License, Version > 2.0 > # (the "License"); you may not use this file except in compliance with > # the License. You may obtain a copy of the License at > # > # http://www.apache.org/licenses/LICENSE-2.0 > # > # Unless required by applicable law or agreed to in writing, software > # distributed under the License is distributed on an "AS IS" BASIS, > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > # See the License for the specific language governing permissions and > # limitations under the License. > > ### > ### 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=/usr/lib/jvm/java-6-sun > test -z "$HADOOP_HOME" && export > HADOOP_HOME=/home/hadoop/hadoop-0.20.2 > test -z "$ACCUMULO_LOG_DIR" && export > ACCUMULO_LOG_DIR=/home/hadoop/accumulo/logs > test -z "$ZOOKEEPER_HOME" && export > ZOOKEEPER_HOME=/home/hadoop/zoo/ > if [ -f ${ACCUMULO_HOME}/conf/accumulo.policy ] > then > POLICY="-Djava.security.manager > -Djava.security.policy=${ACCUMULO_HOME}/conf/accumulo.policy" > fi > test -z "$ACCUMULO_TSERVER_OPTS" && export > ACCUMULO_TSERVER_OPTS="${POLICY} -Xmx128m -Xms128m -Xss128k" > test -z "$ACCUMULO_MASTER_OPTS" && export > ACCUMULO_MASTER_OPTS="${POLICY} -Xmx128m -Xms128m" > test -z "$ACCUMULO_MONITOR_OPTS" && export > ACCUMULO_MONITOR_OPTS="${POLICY} -Xmx128m -Xms128m" > test -z "$ACCUMULO_GC_OPTS" && export ACCUMULO_GC_OPTS="-Xmx128m > -Xms128m" > test -z "$ACCUMULO_LOGGER_OPTS" && export > ACCUMULO_LOGGER_OPTS="-Xmx128m -Xms128m" > test -z "$ACCUMULO_GENERAL_OPTS" && export > ACCUMULO_GENERAL_OPTS="-XX:+UseConcMarkSweepGC > -XX:CMSInitiatingOccupancyFraction=75" > test -z "$ACCUMULO_OTHER_OPTS" && export ACCUMULO_OTHER_OPTS="-Xmx128m > -Xms128m" > export ACCUMULO_LOG_HOST=`(grep -v '^#' $ACCUMULO_HOME/conf/masters ; > echo localhost ) 2>/dev/null | head -1` > > accumulo-site.xml > > > > > > > > instance.zookeeper.host > localhost:2181 > list of zookeeper servers > > > logger.dir.walog > /home/hadoop/walogs > local directory for write ahead logs > > > > instance.secret > cloud > A secret unique to a given instance that all servers > must know in order to communicate with one another. > Change it before initialization. To change it later > use ./bin/accumulo org.apache.accumulo.server.util.ChangeSecret > [oldpasswd] [newpasswd], > and then update this file. > > > > > tserver.memory.maps.max > 128M > > > > tserver.cache.data.size > 50M > > > > tserver.cache.index.size > 128M > > > > general.classpaths > > $ACCUMULO_HOME/src/server/target/classes/, > $ACCUMULO_HOME/src/core/target/classes/, > $ACCUMULO_HOME/src/start/target/classes/, > $ACCUMULO_HOME/src/examples/target/classes/, > $ACCUMULO_HOME/lib/[^.].$ACCUMULO_VERSION.jar, > $ACCUMULO_HOME/lib/[^.].*.jar, > $ZOOKEEPER_HOME/[^.].*.jar, > $HADOOP_HOME/conf, > $HADOOP_HOME/[^.].*.jar, > $HADOOP_HOME/lib/[^.].*.jar, > > Classpaths that accumulo checks for updates and class > files. > When using the Security Manager, please remove the > ".../target/classes/" values. > > > > > > --0015174be2a0be87e604b491fd02 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Here's the problem:

The native libraries are not loading= , which is shifting your in-memory map into the java workspace. Add to that= your block cache size, and your specifications for memory use are higher t= han the JVM will be allowed to allocate. =A0The tablet servers complain, an= d exit. =A0You should see these complaints on the accumulo monitor web page= s.

You may find a benef= it to rebuilding the native map library, which will move the allocation of = the in-memory map to outside the JVM. =A0This is not required.

The size of any memo= ry dedicated to cache must be smaller than the size of the JVM, which must = include substantial working space for RPC calls and garbage collection over= time.

-Eric

20 18:20:00,999 [tablet= server.TabletServer] ERROR: Uncaught exception in
TabletServer.main, exiting
java.lang.IllegalArgumentException: Maximum tablet server map mem= ory
134,217,728 and = block cache sizes 186,646,528 is too large for this JVM
configuration 132,579,328
=A0 =A0at

On Tue, Dec 20, 2011 at 10:25 PM, Rob Bur= khard <rob@robb= urkhard.com> wrote:
Yes. =A0Master and Slave files say localhost=


=A0-------- Original Message --------
=A0Subject: Re: Request Apache Accumulo error help using Hadoop and
=A0Zookeeper in a test environment
=A0From: Clint Green <clintonrgreen@gmail.com>
=A0Date: Tue, December 20, 2011 9:27 pm
=A0To: accumulo-user@= incubator.apache.org

=A0Do you have Accumulo masters and slaves files pointing to localhost?
On Dec 20, 2011 8:22 PM, "Eric Newton" <eric.newton@gmail.com> wrote:
=A0The client can't find = servers in zookeeper... clients are trying to
talk to the tablet servers, so check the tablet server logs for errors:

$ tail -f 100 /home/hadoop/accumulo/logs/tserver*.log


This is a single-host set-up, right?


Make sure /home/hadoop/walogs exists.


-Eric

On Tue, Dec 20, 2011 at 7:36 PM, Rob Burkhard <rob@robburkhard.com>
wrote:
=A0I am setting up a test environment using apache accumulo ver 1.4.0,
=A0hadoop ver 0.20.2 and zookeeper ver 3.3.3. Hadoop and Zookeeper work =A0great together, but when I start accumulo shell using the procedures on
=A0apache incubator, accumulo complains:


=A018 12:44:38,746 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:38,846 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:38,947 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:39,048 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:39,148 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:39,249 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:39,350 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []
=A018 12:44:39,450 [impl.ServerClient] WARN : Failed to find an available<= br> =A0server in the list of servers: []


=A0I have followed the instructions carefully on accumulo-incubator and =A0built this several times on Centos and Ubuntu OS witht he same
results.

=A0I have also manipulated the memory settings with no change in
=A0performance. Please see my Accumulo, Hadoop and Zoo configuration
files
=A0below.
=A0Any help would be appreciated. This is driving me crazy :)



=A0cat zoo/conf/zoo.cfg
=A0# The number of milliseconds of each tick
=A0tickTime=3D2000
=A0# The number of ticks that the initial
=A0# synchronization phase can take
=A0initLimit=3D10
=A0# The number of ticks that can pass between
=A0# sending a request and getting an acknowledgement
=A0syncLimit=3D5
=A0# the directory where the snapshot is stored.
=A0dataDir=3D/home/hadoop/zoo/dataDir
=A0# the port at which the clients will connect
=A0clientPort=3D2181
=A0maxClientCnxns=3D100


=A0cat hadoop/conf/core-site.xml
=A0<?xml version=3D"1.0"?>
=A0<?xml-stylesheet type=3D"text/xsl" href=3D"configurat= ion.xsl"?>

=A0<!-- Put site-specific property overrides in this file. -->

=A0<configuration>
=A0<property>
=A0<name>fs.def= ault.name</name>
=A0<value>hdfs://localhost:9000</value>
=A0</property>
=A0</configuration>



=A0cat hadoop/conf/hadoop-env.sh
=A0# Set Hadoop-specific environment variables here.

=A0# The only required environment variable is JAVA_HOME. All others are =A0# optional. When running a distributed configuration it is best to
=A0# set JAVA_HOME in this file, so that it is correctly defined on
=A0# remote nodes.

=A0# The java implementation to use. Required.
=A0export JAVA_HOME=3D/usr/lib/jvm/java-6-openjdk

=A0# Extra Java CLASSPATH elements. Optional.
=A0# export HADOOP_CLASSPATH=3D

=A0# The maximum amount of heap to use, in MB. Default is 1000.
=A0# export HADOOP_HEAPSIZE=3D2000

=A0# Extra Java runtime options. Empty by default.
=A0# export HADOOP_OPTS=3D-server

=A0# Command specific options appended to HADOOP_OPTS when specified
=A0export HADOOP_NAMENODE_OPTS=3D"-Dcom.sun.management.jmxremote
=A0$HADOOP_NAMENODE_OPTS"
=A0export HADOOP_SECONDARYNAMENODE_OPTS=3D"-Dcom.sun.management.jmxre= mote
=A0$HADOOP_SECONDARYNAMENODE_OPTS"
=A0export HADOOP_DATANODE_OPTS=3D"-Dcom.sun.management.jmxremote
=A0$HADOOP_DATANODE_OPTS"
=A0export HADOOP_BALANCER_OPTS=3D"-Dcom.sun.management.jmxremote
=A0$HADOOP_BALANCER_OPTS"
=A0export HADOOP_JOBTRACKER_OPTS=3D"-Dcom.sun.management.jmxremote =A0$HADOOP_JOBTRACKER_OPTS"
=A0# export HADOOP_TASKTRACKER_OPTS=3D
=A0# The following applies to multiple commands (fs, dfs, fsck, distcp
=A0etc)
=A0# export HADOOP_CLIENT_OPTS

=A0# Extra ssh options. Empty by default.
=A0# export HADOOP_SSH_OPTS=3D"-o ConnectTimeout=3D1 -o
=A0SendEnv=3DHADOOP_CONF_DIR"

=A0# Where log files are stored. $HADOOP_HOME/logs by default.
=A0# export HADOOP_LOG_DIR=3D${HADOOP_HOME}/logs

=A0# File naming remote slave hosts. $HADOOP_HOME/conf/slaves by default.<= br> =A0# export HADOOP_SLAVES=3D${HADOOP_HOME}/conf/slaves

=A0# host:path where hadoop code should be rsync'd from. Unset by
default.
=A0# export HADOOP_MASTER=3Dmaster:/home/$USER/src/hadoop

=A0# Seconds to sleep between slave commands. Unset by default. This
=A0# can be useful in large clusters, where, e.g., slave rsyncs can
=A0# otherwise arrive faster than the master can service them.
=A0# export HADOOP_SLAVE_SLEEP=3D0.1

=A0# The directory where pid files are stored. /tmp by default.
=A0# export HADOOP_PID_DIR=3D/var/hadoop/pids

=A0# A string representing this instance of hadoop. $USER by default.
=A0# export HADOOP_IDENT_STRING=3D$USER

=A0# The scheduling priority for daemon processes. See 'man nice'.=
=A0# export HADOOP_NICENESS=3D10


=A0accumulo-env.sh
=A0#! /usr/bin/env bash

=A0# Licensed to the Apache Software Foundation (ASF) under one or more =A0# contributor license agreements. See the NOTICE file distributed with<= br> =A0# this work for additional information regarding copyright ownership. =A0# The ASF licenses this file to You under the Apache License, Version =A02.0
=A0# (the "License"); you may not use this file except in compli= ance with
=A0# the License. You may obtain a copy of the License at
=A0#
=A0# http://www.apache.org/licenses/LICENSE-2.0
=A0#
=A0# Unless required by applicable law or agreed to in writing, software =A0# distributed under the License is distributed on an "AS IS" = BASIS,
=A0# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
=A0implied.
=A0# See the License for the specific language governing permissions and =A0# limitations under the License.

=A0###
=A0### Configure these environment variables to point to your local
=A0installations.
=A0###
=A0### The functional tests require conditional values, so keep this
=A0style:
=A0###
=A0### test -z "$JAVA_HOME" && export JAVA_HOME=3D/usr/l= ocal/lib/jdk-1.6.0
=A0###
=A0###
=A0### Note that the -Xmx -Xms settings below require substantial free
=A0memory:
=A0### you may want to use smaller values, especially when running
=A0everything
=A0### on a single machine.
=A0###

=A0test -z "$JAVA_HOME" && export
=A0JAVA_HOME=3D/usr/lib/jvm/java-6-sun
=A0test -z "$HADOOP_HOME" && export
=A0HADOOP_HOME=3D/home/hadoop/hadoop-0.20.2
=A0test -z "$ACCUMULO_LOG_DIR" && export
=A0ACCUMULO_LOG_DIR=3D/home/hadoop/accumulo/logs
=A0test -z "$ZOOKEEPER_HOME" && export
=A0ZOOKEEPER_HOME=3D/home/hadoop/zoo/
=A0if [ -f ${ACCUMULO_HOME}/conf/accumulo.policy ]
=A0then
=A0POLICY=3D"-Djava.security.manager
=A0-Djava.security.policy=3D${ACCUMULO_HOME}/conf/accumulo.policy" =A0fi
=A0test -z "$ACCUMULO_TSERVER_OPTS" && export
=A0ACCUMULO_TSERVER_OPTS=3D"${POLICY} -Xmx128m -Xms128m -Xss128k"= ;
=A0test -z "$ACCUMULO_MASTER_OPTS" && export
=A0ACCUMULO_MASTER_OPTS=3D"${POLICY} -Xmx128m -Xms128m"
=A0test -z "$ACCUMULO_MONITOR_OPTS" && export
=A0ACCUMULO_MONITOR_OPTS=3D"${POLICY} -Xmx128m -Xms128m"
=A0test -z "$ACCUMULO_GC_OPTS" && export ACCUMULO_GC_OPT= S=3D"-Xmx128m
=A0-Xms128m"
=A0test -z "$ACCUMULO_LOGGER_OPTS" && export
=A0ACCUMULO_LOGGER_OPTS=3D"-Xmx128m -Xms128m"
=A0test -z "$ACCUMULO_GENERAL_OPTS" && export
=A0ACCUMULO_GENERAL_OPTS=3D"-XX:+UseConcMarkSweepGC
=A0-XX:CMSInitiatingOccupancyFraction=3D75"
=A0test -z "$ACCUMULO_OTHER_OPTS" && export ACCUMULO_OTH= ER_OPTS=3D"-Xmx128m
=A0-Xms128m"
=A0export ACCUMULO_LOG_HOST=3D`(grep -v '^#' $ACCUMULO_HOME/conf/m= asters ;
=A0echo localhost ) 2>/dev/null | head -1`

=A0accumulo-site.xml
=A0<?xml version=3D"1.0" encoding=3D"UTF-8"?> =A0<!--
=A0Licensed to the Apache Software Foundation (ASF) under one or more
=A0contributor license agreements. See the NOTICE file distributed with =A0this work for additional information regarding copyright ownership.
=A0The ASF licenses this file to You under the Apache License, Version
=A02.0
=A0(the "License"); you may not use this file except in complian= ce with
=A0the License. You may obtain a copy of the License at

=A0http://www.apache.org/licenses/LICENSE-2.0

=A0Unless required by applicable law or agreed to in writing, software
=A0distributed under the License is distributed on an "AS IS" BA= SIS,
=A0WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
=A0implied.
=A0See the License for the specific language governing permissions and
=A0limitations under the License.
=A0-->
=A0<?xml-stylesheet type=3D"text/xsl" href=3D"configurat= ion.xsl"?>

=A0<configuration>
=A0<!--
=A0Put your site-specific accumulo configurations here.

=A0The available configuration values along with their defaults
=A0are documented in docs/config.html

=A0Unless you are simply testing at your workstation, you will most
=A0definitely need to change the three entries below.
=A0-->
=A0<property>
=A0<name>instance.zookeeper.host</name>
=A0<value>localhost:2181</value>
=A0<description>list of zookeeper servers</description>
=A0</property>
=A0<property>
=A0<name>logger.dir.walog</name>
=A0<value>/home/hadoop/walogs</value>
=A0<description>local directory for write ahead logs</description= >
=A0</property>

=A0<property>
=A0<name>instance.secret</name>
=A0<value>cloud</value>
=A0<description>A secret unique to a given instance that all servers=
=A0must know in order to communicate with one another.
=A0Change it before initialization. To change it later
=A0use ./bin/accumulo org.apache.accumulo.server.util.ChangeSecret
=A0[oldpasswd] [newpasswd],
=A0and then update this file.
=A0</description>
=A0</property>

=A0<property>
=A0<name>tserver.memory.maps.max</name>
=A0<value>128M</value>
=A0</property>

=A0<property>
=A0<name>tserver.cache.data.size</name>
=A0<value>50M</value>
=A0</property>

=A0<property>
=A0<name>tserver.cache.index.size</name>
=A0<value>128M</value>
=A0</property>

=A0<property>
=A0<name>general.classpaths</name>
=A0<value>
=A0$ACCUMULO_HOME/src/server/target/classes/,
=A0$ACCUMULO_HOME/src/core/target/classes/,
=A0$ACCUMULO_HOME/src/start/target/classes/,
=A0$ACCUMULO_HOME/src/examples/target/classes/,
=A0$ACCUMULO_HOME/lib/[^.].$ACCUMULO_VERSION.jar,
=A0$ACCUMULO_HOME/lib/[^.].*.jar,
=A0$ZOOKEEPER_HOME/[^.].*.jar,
=A0$HADOOP_HOME/conf,
=A0$HADOOP_HOME/[^.].*.jar,
=A0$HADOOP_HOME/lib/[^.].*.jar,
=A0</value>
=A0<description>Classpaths that accumulo checks for updates and clas= s
=A0files.
=A0When using the Security Manager, please remove the
=A0".../target/classes/" values.
=A0</description>
=A0</property>

=A0</configuration>


--0015174be2a0be87e604b491fd02--