Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 0d47616

Browse files
committed
#52 removed unnecessary jar dependency
1 parent 2fed47e commit 0d47616

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

chronix-spark-ts-rdd/src/test/java/de/qaware/chronix/spark/api/java/SparkTestConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public enum Profile {
3434
// INDIVIDUAL configuration **************************************************
3535
public static final String SPARK_HISTORY_DIR = "/tmp";
3636
public static final String[] JARS = new String[]{
37-
"/Users/qaware-jad/Documents/projekte/chronix/chronix.spark/chronix-solr-cloud-storage/build/libs/chronix-solr-cloud-storage-0.1.jar",
38-
"/Users/qaware-jad/Documents/projekte/chronix/chronix.spark/chronix-spark-ts-rdd/build/libs/chronix-spark-ts-rdd-0.1.jar"
37+
"/Users/qaware-jad/Documents/projekte/chronix/chronix.spark/chronix-spark-ts-rdd/build/libs/chronix-spark-ts-rdd-0.3.jar"
3938
};
4039

4140
// GLOBAL configuration ******************************************************

chronix-spark-ts-rdd/src/test/java/de/qaware/chronix/spark/api/java/TestPerformanceRegression.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package de.qaware.chronix.spark.api.java;
1717

18-
import de.qaware.chronix.storage.solr.ChronixSolrCloudStorage;
1918
import de.qaware.chronix.storage.solr.timeseries.metric.MetricObservation;
2019
import de.qaware.chronix.timeseries.MetricTimeSeries;
2120
import org.apache.solr.client.solrj.SolrQuery;
@@ -33,7 +32,7 @@
3332
*/
3433
public class TestPerformanceRegression {
3534

36-
private static final long LOOPS = 2;
35+
private static final long LOOPS = 4;
3736

3837
/**
3938
* ----------------------------------------------------
@@ -66,11 +65,10 @@ public static void main(String[] args) throws SolrServerException, IOException {
6665

6766
//Read data into ChronixRDD
6867
SolrQuery query = new SolrQuery(SparkTestConfiguration.SOLR_REFERENCE_QUERY);
69-
ChronixRDD rdd = csc.queryChronixChunks(query,
68+
ChronixRDD rdd = csc.query(query,
7069
SparkTestConfiguration.ZK_HOST,
7170
SparkTestConfiguration.CHRONIX_COLLECTION,
72-
new ChronixSolrCloudStorage());
73-
rdd.cache();
71+
SparkTestConfiguration.STORAGE);
7472

7573
//Some actions
7674
double mean = rdd.mean();

0 commit comments

Comments
 (0)