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

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jweigend committed Apr 11, 2016
2 parents fd11b97 + 56bc74e commit a92893e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public double call(MetricTimeSeries value) throws Exception {
//TODO:
// - delta()
// - filter()
// Transformations to other types: DataFrame
// - easy additional functions based on DoubleRDD (esp. stats & approx)
// - see TimeSeriesRDD
// - see Kassiopeia TimeSeries POJO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ class ConfigurationParams {
public static final String ZK_HOST = "192.168.1.100:2181";
public static final String SPARK_MASTER = "local[4]";
public static final String APP_NAME = "Spark Chronix Testsuite";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ class TestChronixRDD extends Specification {
when:
long start = System.currentTimeMillis();
double mean = rdd.mean();
long count = rdd.countObservations()
long stop = System.currentTimeMillis();
println "Mean: " + mean
println " - execution time: " + (stop - start)
println " - relevant observations: " + count
then:
mean > 0.0f
cleanup:
Expand Down

0 comments on commit a92893e

Please sign in to comment.