Repository: phoenix Updated Branches: refs/heads/4.4-HBase-0.98 7fa989ad2 -> 421f851dc
PHOENIX-2109 - Joda time version conflict between phoenix and pherf Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/421f851d Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/421f851d Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/421f851d Branch: refs/heads/4.4-HBase-0.98 Commit: 421f851dc4b5352527cae0413f207ca13c28cd25 Parents: 7fa989a Author: Cody Marcel <cody.mar...@gmail.com> Authored: Mon Jul 13 14:25:58 2015 -0700 Committer: Cody Marcel <cody.mar...@gmail.com> Committed: Mon Jul 13 14:25:58 2015 -0700 ---------------------------------------------------------------------- phoenix-pherf/pom.xml | 2 +- .../src/it/java/org/apache/phoenix/pherf/DataIngestIT.java | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/421f851d/phoenix-pherf/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-pherf/pom.xml b/phoenix-pherf/pom.xml index 9319a7d..1b3f0a1 100644 --- a/phoenix-pherf/pom.xml +++ b/phoenix-pherf/pom.xml @@ -219,7 +219,7 @@ <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> - <version>1.6.2</version> + <version>${jodatime.version}</version> </dependency> <dependency> <groupId>com.googlecode.java-diff-utils</groupId> http://git-wip-us.apache.org/repos/asf/phoenix/blob/421f851d/phoenix-pherf/src/it/java/org/apache/phoenix/pherf/DataIngestIT.java ---------------------------------------------------------------------- diff --git a/phoenix-pherf/src/it/java/org/apache/phoenix/pherf/DataIngestIT.java b/phoenix-pherf/src/it/java/org/apache/phoenix/pherf/DataIngestIT.java index 828ac38..8a340b3 100644 --- a/phoenix-pherf/src/it/java/org/apache/phoenix/pherf/DataIngestIT.java +++ b/phoenix-pherf/src/it/java/org/apache/phoenix/pherf/DataIngestIT.java @@ -27,6 +27,7 @@ import org.apache.phoenix.pherf.configuration.Scenario; import org.apache.phoenix.pherf.rules.DataValue; import org.apache.phoenix.pherf.rules.RulesApplier; import org.apache.phoenix.pherf.workload.QueryExecutor; +import org.apache.phoenix.pherf.workload.Workload; import org.apache.phoenix.pherf.workload.WorkloadExecutor; import org.apache.phoenix.pherf.workload.WriteWorkload; import org.junit.Before; @@ -68,6 +69,7 @@ public class DataIngestIT extends ResultBaseTestIT { WriteWorkload loader = new WriteWorkload(util, parser, scenario); WorkloadExecutor executor = new WorkloadExecutor(); executor.add(loader); + executor.get(); RulesApplier rulesApplier = loader.getRulesApplier(); List<Map> modelList = rulesApplier.getModelList(); @@ -90,6 +92,12 @@ public class DataIngestIT extends ResultBaseTestIT { data.getDistribution() == Integer.MIN_VALUE); } } + + // Run some queries + Workload query = new QueryExecutor(parser, util, executor.getPool()); + executor.add(query); + executor.get(); + } catch (Exception e) { fail("We had an exception: " + e.getMessage()); }