incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1196028 - /incubator/accumulo/trunk/test/system/auto/TestUtils.py
Date Tue, 01 Nov 2011 14:45:33 GMT
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)



Mime
View raw message