ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #IGNITE-497 Fixed compilation error.
Date Fri, 27 Mar 2015 10:08:05 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-497 280e7413c -> 9d1b12a26


#IGNITE-497 Fixed compilation error.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/9d1b12a2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/9d1b12a2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/9d1b12a2

Branch: refs/heads/ignite-497
Commit: 9d1b12a266e7f4bb7a4bf2075b186fab10d4f480
Parents: 280e741
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Fri Mar 27 13:08:06 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Fri Mar 27 13:08:06 2015 +0300

----------------------------------------------------------------------
 .../yardstick/config/benchmark-ec2.properties   |  2 +-
 .../ignite/yardstick/IgniteDriverNode.java      | 39 +++++---------------
 2 files changed, 11 insertions(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9d1b12a2/modules/yardstick/config/benchmark-ec2.properties
----------------------------------------------------------------------
diff --git a/modules/yardstick/config/benchmark-ec2.properties b/modules/yardstick/config/benchmark-ec2.properties
index 719ba59..1db62b2 100644
--- a/modules/yardstick/config/benchmark-ec2.properties
+++ b/modules/yardstick/config/benchmark-ec2.properties
@@ -35,7 +35,7 @@ JVM_OPTS=${JVM_OPTS}" \
   -XX:+UseCMSInitiatingOccupancyOnly \
   -XX:CMSInitiatingOccupancyFraction=60 \
   -Xms2g \
-  -Xmx8g \
+  -Xmx16g \
 "
 
 #Ignite version

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9d1b12a2/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteDriverNode.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteDriverNode.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteDriverNode.java
index 378e486..d7165b2 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteDriverNode.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteDriverNode.java
@@ -17,34 +17,15 @@
 
 package org.apache.ignite.yardstick;
 
-import org.apache.ignite.Ignite;
-import org.apache.ignite.IgniteCheckedException;
-import org.apache.ignite.Ignition;
-import org.apache.ignite.cache.CacheDistributionMode;
-import org.apache.ignite.cache.eviction.lru.CacheLruEvictionPolicy;
-import org.apache.ignite.configuration.CacheConfiguration;
-import org.apache.ignite.configuration.ConnectorConfiguration;
-import org.apache.ignite.configuration.IgniteConfiguration;
-import org.apache.ignite.configuration.TransactionConfiguration;
-import org.apache.ignite.internal.util.IgniteUtils;
-import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
-import org.springframework.beans.BeansException;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.context.support.GenericApplicationContext;
-import org.springframework.core.io.UrlResource;
-import org.yardstickframework.BenchmarkConfiguration;
-import org.yardstickframework.BenchmarkServer;
-import org.yardstickframework.BenchmarkUtils;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-import static org.apache.ignite.cache.CacheDistributionMode.CLIENT_ONLY;
-import static org.apache.ignite.cache.CacheDistributionMode.PARTITIONED_ONLY;
-import static org.apache.ignite.cache.CacheMemoryMode.OFFHEAP_VALUES;
+import org.apache.ignite.*;
+import org.apache.ignite.cache.eviction.lru.*;
+import org.apache.ignite.configuration.*;
+import org.apache.ignite.internal.processors.cache.*;
+import org.apache.ignite.spi.communication.tcp.*;
+import org.yardstickframework.*;
+
+import static org.apache.ignite.internal.processors.cache.CacheDistributionMode.*;
+import static org.apache.ignite.cache.CacheMemoryMode.*;
 
 /**
  * Standalone Ignite node.
@@ -113,7 +94,7 @@ public class IgniteDriverNode extends IgniteNode {
                 if (args.isOffheapValues())
                     cc.setMemoryMode(OFFHEAP_VALUES);
                 else
-                    cc.setEvictionPolicy(new CacheLruEvictionPolicy(50000));
+                    cc.setEvictionPolicy(new LruEvictionPolicy(50000));
             }
 
             cc.setReadThrough(args.isStoreEnabled());


Mime
View raw message