Skip to content

Commit a7dd881

Browse files
committed
minor adjustments
1 parent cfcdd35 commit a7dd881

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

subprojects/WhiskeyWayang/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies {
4848
exclude(group: 'org.slf4j', module: '*')
4949
exclude(group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl')
5050
}
51-
runtimeOnly "org.slf4j:slf4j-simple:$slf4jVersion"
51+
// runtimeOnly "org.slf4j:slf4j-simple:$slf4jVersion"
5252
runtimeOnly 'org.apache.commons:commons-configuration2:2.10.1'
5353
runtimeOnly 'com.fasterxml.woodstox:woodstox-core:6.6.2'
5454
runtimeOnly 'com.google.re2j:re2j:1.7'
@@ -67,7 +67,7 @@ tasks.register('versionInfo') {
6767
if (!JavaVersion.current().isJava8() && !JavaVersion.current().isJava11()) {
6868
logger.lifecycle "WARNING! Apache Wayang automates selection of the data processing platform."
6969
logger.lifecycle "WARNING! The current application nominates either a Java or Spark platform."
70-
logger.lifecycle "WARNING! The application may fail if Spark is selected and the JDK is not 8 or 11!"
70+
logger.lifecycle "WARNING! The application may fail if Spark is selected and the JDK version is not compatible with the Spark version!"
7171
}
7272
}
7373
}

subprojects/WhiskeyWayang/src/main/groovy/WhiskeyWayang.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var randomPoint = { (0..<dims).collect { r.nextGaussian() + 2 } as double[] }
9292
var initPts = (1..k).collect(randomPoint)
9393

9494
var context = new WayangContext()
95-
// .withPlugin(Java.basicPlugin())
95+
.withPlugin(Java.basicPlugin()) // comment out this line to force Spark
9696
.withPlugin(Spark.basicPlugin())
9797
var planBuilder = new JavaPlanBuilder(context, "KMeans ($url, k=$k, iterations=$iterations)")
9898

0 commit comments

Comments
 (0)