accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1341000 - /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/Accumulo.java
Date Mon, 21 May 2012 12:46:12 GMT
Author: ecn
Date: Mon May 21 12:46:12 2012
New Revision: 1341000

URL: http://svn.apache.org/viewvc?rev=1341000&view=rev
Log:
ACCUMULO-49 have been testing with swappiness set at 10 with few problems; many distros recommend
setting it to 10 for desktops.

Modified:
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/Accumulo.java

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/Accumulo.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/Accumulo.java?rev=1341000&r1=1340999&r2=1341000&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/Accumulo.java (original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/Accumulo.java Mon May 21
12:46:12 2012
@@ -154,8 +154,8 @@ public class Accumulo {
               int bytes = is.read(buffer);
               String setting = new String(buffer, 0, bytes);
               setting = setting.trim();
-              if (bytes > 0 && Integer.parseInt(setting) > 0) {
-                log.warn("System swappiness setting is greater than zero (" + setting + ")
which can cause time-sensitive operations to be delayed. "
+              if (bytes > 0 && Integer.parseInt(setting) > 10) {
+                log.warn("System swappiness setting is greater than ten (" + setting + ")
which can cause time-sensitive operations to be delayed. "
                     + " Accumulo is time sensitive because it needs to maintain distributed
lock agreement.");
               }
             } finally {



Mime
View raw message