wonook commented on a change in pull request #203: [NEMO-360] Implementing an
'XGBoostPolicy'
URL: https://github.com/apache/incubator-nemo/pull/203#discussion_r267637524
##########
File path:
examples/beam/src/main/java/org/apache/nemo/examples/beam/NemoPipelineOptionsFactory.java
##########
@@ -37,13 +37,7 @@ private NemoPipelineOptionsFactory() {
*/
public static PipelineOptions create() {
final PipelineOptions options =
PipelineOptionsFactory.create().as(NemoPipelineOptions.class);
- try {
- options.setRunner((Class<? extends PipelineRunner<?>>)
- Class.forName("org.apache.nemo.client.beam.NemoRunner"));
- return options;
- } catch (final ClassNotFoundException e) {
- e.printStackTrace();
- throw new RuntimeException(e);
- }
+ options.setRunner(NemoRunner.class);
+ return options;
Review comment:
Same as above.
----------------------------------------------------------------
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