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

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

                Author: ASF GitHub Bot
            Created on: 20/Aug/18 23:08
            Start Date: 20/Aug/18 23:08
    Worklog Time Spent: 10m 
      Work Description: tweise closed pull request #6249: [BEAM-5169] Add 
options for master URL and log level to Flink jobserver runShadow task.
URL: https://github.com/apache/beam/pull/6249
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/runners/flink/job-server/build.gradle 
b/runners/flink/job-server/build.gradle
index 4059d7303fb..b38b209762e 100644
--- a/runners/flink/job-server/build.gradle
+++ b/runners/flink/job-server/build.gradle
@@ -55,9 +55,13 @@ runShadow {
   args = ["--job-host=${jobHost}", "--artifacts-dir=${artifactsDir}"]
   if (cleanArtifactsPerJob)
     args += ["--clean-artifacts-per-job"]
+  if (project.hasProperty("flinkMasterUrl"))
+    args += ["--flink-master-url=${project.property('flinkMasterUrl')}"]
 
   // Enable remote debugging.
   jvmArgs = ["-Xdebug", 
"-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"]
+  if (project.hasProperty("logLevel"))
+    jvmArgs += 
["-Dorg.slf4j.simpleLogger.defaultLogLevel=${project.property('logLevel')}"]
 }
 
 createPortableValidatesRunnerTask(jobServerDriver: 
"org.apache.beam.runners.flink.FlinkJobServerDriver", 
testClasspathConfiguration: configurations.validatesPortableRunner)


 

----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 136337)
    Time Spent: 40m  (was: 0.5h)

> Add options for master URL and log level to Flink jobserver runShadow task
> --------------------------------------------------------------------------
>
>                 Key: BEAM-5169
>                 URL: https://issues.apache.org/jira/browse/BEAM-5169
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-flink
>    Affects Versions: 2.6.0
>            Reporter: Thomas Weise
>            Assignee: Thomas Weise
>            Priority: Major
>              Labels: portability
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




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

Reply via email to