[ 
https://issues.apache.org/jira/browse/BEAM-3995?focusedWorklogId=89108&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-89108
 ]

ASF GitHub Bot logged work on BEAM-3995:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Apr/18 20:23
            Start Date: 09/Apr/18 20:23
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5051: 
[BEAM-3995] Add basic DirectRunner Gradle run task to Nexmark
URL: https://github.com/apache/beam/pull/5051#discussion_r180218636
 
 

 ##########
 File path: sdks/java/nexmark/build.gradle
 ##########
 @@ -46,3 +46,14 @@ dependencies {
 test {
   jvmArgs "-da"
 }
+
+def nexmarkArgsProperty = "nexmark.args"
+
+task run (type: JavaExec) {
+  main = "org.apache.beam.sdk.nexmark.Main"
+  classpath = sourceSets.main.runtimeClasspath
 
 Review comment:
   The reason why I suggested to run using the shaded artifacts is that it 
would match what users would be running if they depended on the Apache Beam 
nexmark artifact distributed via Maven central.
   
   Having a separate configuration per runner makes sense if a runner needs 
additional overrides (typical of spark) to get it to work with Nexmark because 
of a dependency conflict.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 89108)
    Time Spent: 1h 40m  (was: 1.5h)

> Launch Nexmark suites from gradle and update web page docs
> ----------------------------------------------------------
>
>                 Key: BEAM-3995
>                 URL: https://issues.apache.org/jira/browse/BEAM-3995
>             Project: Beam
>          Issue Type: Sub-task
>          Components: examples-nexmark, website
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently our instructions for running Nexmark benchmarks on various runners 
> is pretty tightly tied to Maven. We need a good story for running them with 
> gradle (or just building an executable with gradle and running that 
> standalone).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to