From aee11a01f1c937a8cdef5ae88a465848be8ea533 Mon Sep 17 00:00:00 2001 From: AKuznetsov Date: Wed, 28 Jan 2015 15:17:37 +0700 Subject: [PATCH] # IGNITE-102. Fixes to make benchmarks runnable. --- .../config/benchmark-atomic-win.properties | 2 +- .../config/benchmark-atomic.properties | 2 +- .../config/benchmark-compute-win.properties | 2 +- .../config/benchmark-compute.properties | 2 +- .../config/benchmark-query-win.properties | 2 +- .../config/benchmark-query.properties | 2 +- .../config/benchmark-tx-win.properties | 2 +- .../yardstick/config/benchmark-tx.properties | 2 +- .../yardstick/config/benchmark-win.properties | 2 +- modules/yardstick/config/benchmark.properties | 2 +- .../yardstick/config/ignite-base-config.xml | 10 +++++----- .../config/ignite-localhost-config.xml | 4 ++-- .../config/ignite-multicast-config.xml | 4 ++-- modules/yardstick/pom.xml | 8 ++++++++ .../yardstick/IgniteAbstractBenchmark.java | 6 +++--- .../apache/ignite/yardstick/IgniteNode.java | 18 +++++++++--------- ...markIgnite.java => IgnitePutBenchmark.java} | 2 +- ...kIgnite.java => IgnitePutGetBenchmark.java} | 2 +- ...gnite.java => IgnitePutGetTxBenchmark.java} | 2 +- ...rkIgnite.java => IgnitePutTxBenchmark.java} | 2 +- ...gnite.java => IgniteSqlQueryBenchmark.java} | 2 +- ...e.java => IgniteSqlQueryJoinBenchmark.java} | 2 +- ...te.java => IgniteSqlQueryPutBenchmark.java} | 2 +- 23 files changed, 46 insertions(+), 38 deletions(-) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgnitePutBenchmarkIgnite.java => IgnitePutBenchmark.java} (94%) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgnitePutGetBenchmarkIgnite.java => IgnitePutGetBenchmark.java} (94%) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgnitePutGetTxBenchmarkIgnite.java => IgnitePutGetTxBenchmark.java} (95%) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgnitePutTxBenchmarkIgnite.java => IgnitePutTxBenchmark.java} (94%) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgniteSqlQueryBenchmarkIgnite.java => IgniteSqlQueryBenchmark.java} (97%) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgniteSqlQueryJoinBenchmarkIgnite.java => IgniteSqlQueryJoinBenchmark.java} (97%) rename modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/{IgniteSqlQueryPutBenchmarkIgnite.java => IgniteSqlQueryPutBenchmark.java} (97%) diff --git a/modules/yardstick/config/benchmark-atomic-win.properties b/modules/yardstick/config/benchmark-atomic-win.properties index 97132f0fdc9cb..96dde322a57c5 100644 --- a/modules/yardstick/config/benchmark-atomic-win.properties +++ b/modules/yardstick/config/benchmark-atomic-win.properties @@ -21,7 +21,7 @@ set JVM_OPTS=%JVM_OPTS% -DGRIDGAIN_QUIET=false BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe :: Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick :: Probe point writer class name. :: BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-atomic.properties b/modules/yardstick/config/benchmark-atomic.properties index d10259d36d928..1f93d5cedc868 100644 --- a/modules/yardstick/config/benchmark-atomic.properties +++ b/modules/yardstick/config/benchmark-atomic.properties @@ -23,7 +23,7 @@ JVM_OPTS=${JVM_OPTS}" -DGRIDGAIN_QUIET=false" BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe # Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick # Probe point writer class name. # BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-compute-win.properties b/modules/yardstick/config/benchmark-compute-win.properties index 06c7f6a7d9514..35e88737f5cfa 100644 --- a/modules/yardstick/config/benchmark-compute-win.properties +++ b/modules/yardstick/config/benchmark-compute-win.properties @@ -21,7 +21,7 @@ set JVM_OPTS=%JVM_OPTS% -DGRIDGAIN_QUIET=false BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe :: Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick :: Probe point writer class name. :: BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-compute.properties b/modules/yardstick/config/benchmark-compute.properties index d90a954e7d629..1f38eb6de7585 100644 --- a/modules/yardstick/config/benchmark-compute.properties +++ b/modules/yardstick/config/benchmark-compute.properties @@ -23,7 +23,7 @@ JVM_OPTS=${JVM_OPTS}" -DGRIDGAIN_QUIET=false" BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe # Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick # Probe point writer class name. # BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-query-win.properties b/modules/yardstick/config/benchmark-query-win.properties index 377bac034aeec..a2c102cef8c3c 100644 --- a/modules/yardstick/config/benchmark-query-win.properties +++ b/modules/yardstick/config/benchmark-query-win.properties @@ -21,7 +21,7 @@ set JVM_OPTS=%JVM_OPTS%^ BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe :: Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick :: Probe point writer class name. :: BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-query.properties b/modules/yardstick/config/benchmark-query.properties index b467e0bb479c7..c3e7a6e2c5eb0 100644 --- a/modules/yardstick/config/benchmark-query.properties +++ b/modules/yardstick/config/benchmark-query.properties @@ -23,7 +23,7 @@ JVM_OPTS=${JVM_OPTS}" -DGRIDGAIN_QUIET=false" \ BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe # Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick # Probe point writer class name. # BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-tx-win.properties b/modules/yardstick/config/benchmark-tx-win.properties index 7e098a55a0a78..7b122029d1de7 100644 --- a/modules/yardstick/config/benchmark-tx-win.properties +++ b/modules/yardstick/config/benchmark-tx-win.properties @@ -21,7 +21,7 @@ set JVM_OPTS=%JVM_OPTS% -DGRIDGAIN_QUIET=false BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe :: Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick :: Probe point writer class name. :: BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-tx.properties b/modules/yardstick/config/benchmark-tx.properties index 83be491d2f1e5..c3d69f2dc8028 100644 --- a/modules/yardstick/config/benchmark-tx.properties +++ b/modules/yardstick/config/benchmark-tx.properties @@ -23,7 +23,7 @@ JVM_OPTS=${JVM_OPTS}" -DGRIDGAIN_QUIET=false" BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe # Packages where the specified benchmark is searched by reflection mechanism, comma separated. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick # Probe point writer class name. # BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark-win.properties b/modules/yardstick/config/benchmark-win.properties index ba77c84018d2c..00a3c173a0d6b 100644 --- a/modules/yardstick/config/benchmark-win.properties +++ b/modules/yardstick/config/benchmark-win.properties @@ -24,7 +24,7 @@ set JVM_OPTS=%JVM_OPTS% -DGRIDGAIN_QUIET=false BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe :: Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick :: Probe point writer class name. :: BENCHMARK_WRITER= diff --git a/modules/yardstick/config/benchmark.properties b/modules/yardstick/config/benchmark.properties index bbe9ff0d6c823..034eb46f0306c 100644 --- a/modules/yardstick/config/benchmark.properties +++ b/modules/yardstick/config/benchmark.properties @@ -26,7 +26,7 @@ JVM_OPTS=${JVM_OPTS}" -DGRIDGAIN_QUIET=false" BENCHMARK_DEFAULT_PROBES=ThroughputLatencyProbe,PercentileProbe # Packages where the specified benchmark is searched by reflection mechanism. -BENCHMARK_PACKAGES=org.yardstickframework +BENCHMARK_PACKAGES=org.yardstickframework,org.apache.ignite.yardstick # Probe point writer class name. # BENCHMARK_WRITER= diff --git a/modules/yardstick/config/ignite-base-config.xml b/modules/yardstick/config/ignite-base-config.xml index 69fe9b1f760a7..16d0a7011ab72 100644 --- a/modules/yardstick/config/ignite-base-config.xml +++ b/modules/yardstick/config/ignite-base-config.xml @@ -24,7 +24,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> - +