wonook commented on a change in pull request #203: [NEMO-360] Implementing an
'XGBoostPolicy'
URL: https://github.com/apache/incubator-nemo/pull/203#discussion_r267797573
##########
File path:
examples/beam/src/test/java/org/apache/nemo/examples/beam/WordCountITCase.java
##########
@@ -127,4 +128,14 @@ public void testSpeculativeExecution() throws Exception {
.addOptimizationPolicy(AggressiveSpeculativeCloningPolicyParallelismFive.class.getCanonicalName())
.build());
}
+
+ @Test (timeout = ExampleTestArgs.TIMEOUT)
+ public void testXGBoost() throws Exception {
+ JobLauncher.main(builder
+ .addResourceJson(executorResourceFileName)
+ .addJobId(WordCountITCase.class.getSimpleName() + "_xgboost")
+ .addMaxTaskAttempt(Integer.MAX_VALUE)
+ .addOptimizationPolicy(XGBoostPolicy.class.getCanonicalName())
+ .build());
+ }
Review comment:
The word count application has its input and output files in under the
resources folder. Each ITCase goes under the process where the outputs are
validated to equal the sample outputs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services