You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by vi...@apache.org on 2011/11/01 15:45:33 UTC

svn commit: r1196028 - /incubator/accumulo/trunk/test/system/auto/TestUtils.py

Author: vines
Date: Tue Nov  1 14:45:32 2011
New Revision: 1196028

URL: http://svn.apache.org/viewvc?rev=1196028&view=rev
Log:
fixes accumulo-100 - SunnyDay heap settings were not setting the index cache size to a value which played nicely with the heap setting of 500M.

Modified:
    incubator/accumulo/trunk/test/system/auto/TestUtils.py

Modified: incubator/accumulo/trunk/test/system/auto/TestUtils.py
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/auto/TestUtils.py?rev=1196028&r1=1196027&r2=1196028&view=diff
==============================================================================
--- incubator/accumulo/trunk/test/system/auto/TestUtils.py (original)
+++ incubator/accumulo/trunk/test/system/auto/TestUtils.py Tue Nov  1 14:45:32 2011
@@ -79,6 +79,8 @@ class TestUtilsMixin:
 
     settings = {'tserver.port.search': 'true',
                 'tserver.memory.maps.max':'100M',
+		'tserver.cache.data.size':'10M',
+		'tserver.cache.index.size':'20M',
                 'instance.zookeeper.timeout': '10s',
                 'gc.cycle.delay': '1s',
                 'gc.cycle.start': '1s',
@@ -92,13 +94,13 @@ class TestUtilsMixin:
         cmd = map(str, cmd)
         log.debug('%s: %s', host, ' '.join(cmd))
         if host == 'localhost':
-            os.environ['ACCUMULO_TSERVER_OPTS']='-Xmx500m '
+            os.environ['ACCUMULO_TSERVER_OPTS']='-Xmx700m '
             os.environ['ACCUMULO_GENERAL_OPTS']='-Dorg.apache.accumulo.config.file=%s ' % SITE
             os.environ['ACCUMULO_LOG_DIR']= ACCUMULO_HOME + '/logs/' + ID
             return Popen(cmd, stdout=PIPE, stderr=PIPE, **opts)
         else:
             cp = 'HADOOP_CLASSPATH=%s' % os.environ.get('HADOOP_CLASSPATH','')
-            jo = "ACCUMULO_TSERVER_OPTS='-Xmx500m '"
+            jo = "ACCUMULO_TSERVER_OPTS='-Xmx700m '"
             go = "ACCUMULO_GENERAL_OPTS='-Dorg.apache.accumulo.config.file=%s'" % SITE
             ld = 'ACCUMULO_LOG_DIR=%s/logs/%s' % (ACCUMULO_HOME, ID)
             execcmd = ['ssh', '-q', host, cp, jo, go, ld] + quote(cmd)