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

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

                Author: ASF GitHub Bot
            Created on: 16/May/19 05:32
            Start Date: 16/May/19 05:32
    Worklog Time Spent: 10m 
      Work Description: jbartok commented on pull request #8410: [BEAM-7305] 
Add first version of Hazelcast Jet based Java Runner
URL: https://github.com/apache/beam/pull/8410#discussion_r284543981
 
 

 ##########
 File path: runners/jet-experimental/build.gradle
 ##########
 @@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import groovy.json.JsonOutput
+
+plugins { id 'org.apache.beam.module' }
+applyJavaNature()
+
+description = "Apache Beam :: Runners :: Hazelcast Jet"
+
+evaluationDependsOn(":sdks:java:core")
+evaluationDependsOn(":runners:core-java")
+
+project.ext {
+    jet_version = '3.0'
+    hazelcast_version = '3.12'
+}
+
+configurations {
+    validatesRunner
+}
+
+dependencies {
+    shadow project(path: ":sdks:java:core", configuration: "shadow")
+    shadow project(path: ":runners:core-java", configuration: "shadow")
+    shadow "com.hazelcast.jet:hazelcast-jet:$jet_version"
+
+    shadowTest project(path: ":sdks:java:core", configuration: "shadowTest")
+    shadowTest project(path: ":runners:core-java", configuration: "shadowTest")
+    shadowTest library.java.hamcrest_core
+    shadowTest library.java.junit
+    shadowTest "com.hazelcast.jet:hazelcast-jet-core:$jet_version:tests"
+    shadowTest "com.hazelcast:hazelcast:$hazelcast_version:tests"
+    shadowTest "com.hazelcast:hazelcast-client:$hazelcast_version:tests"
+
+    validatesRunner project(path: ":sdks:java:core", configuration: 
"shadowTest")
+    validatesRunner project(path: ":runners:core-java", configuration: 
"shadowTest")
+    validatesRunner project(path: project.path, configuration: "shadowTest")
+}
+
+task validatesRunnerBatch(type: Test) {
+    group = "Verification"
+    systemProperty "beamTestPipelineOptions", JsonOutput.toJson([
+            "--runner=TestJetRunner",
+            "--jetGroupName=jet",
+            "--jetLocalParallelism=2"
+    ])
+
+    classpath = configurations.validatesRunner
+    testClassesDirs = 
files(project(":sdks:java:core").sourceSets.test.output.classesDirs)
+    useJUnit {
+        includeCategories 'org.apache.beam.sdk.testing.ValidatesRunner'
+        excludeCategories 'org.apache.beam.sdk.testing.UsesImpulse' //impulse 
doesn't cooperate properly with Jet when multiple cluster members are used
+        exclude '**/SplittableDoFnTest.class' //Splittable DoFn functionality 
not yet in the runner
+    }
+
+    maxHeapSize = '4g'
+}
+
+task validatesRunner {
+    group = "Verification"
+    description "Validates Jet runner"
+    dependsOn validatesRunnerBatch
+}
+
+spotless {
+    java {
+        paddedCell()
 
 Review comment:
   Hi Guys. I'm submitting a second pull request today with more changes 
related to jet runner and in that I'm removing this whole spotless block, it's 
not really needed. 
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 243122)
    Time Spent: 1h  (was: 50m)

> Add first version of Hazelcast Jet Runner
> -----------------------------------------
>
>                 Key: BEAM-7305
>                 URL: https://issues.apache.org/jira/browse/BEAM-7305
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-jet
>            Reporter: Maximilian Michels
>            Assignee: Jozsef Bartok
>            Priority: Major
>             Fix For: 2.14.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




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

Reply via email to