You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/02 10:29:00 UTC

[jira] [Work logged] (BEAM-4130) Portable Flink runner JobService entry point in a Docker container

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

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

                Author: ASF GitHub Bot
            Created on: 02/Oct/18 10:28
            Start Date: 02/Oct/18 10:28
    Worklog Time Spent: 10m 
      Work Description: mxm closed pull request #6341: [BEAM-4130] Updating FlinkJobServerDriver for port 0 usage
URL: https://github.com/apache/beam/pull/6341
 
 
   

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/src/main/java/org/apache/beam/runners/flink/FlinkJobServerDriver.java b/runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkJobServerDriver.java
index 0f567f6c6d5..7b0e55f70e6 100644
--- a/runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkJobServerDriver.java
+++ b/runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkJobServerDriver.java
@@ -55,10 +55,16 @@
     @Option(name = "--job-host", usage = "The job server host name")
     private String host = "";
 
-    @Option(name = "--job-port", usage = "The job service port. (Default: 8099)")
+    @Option(
+      name = "--job-port",
+      usage = "The job service port. 0 to use a dynamic port. (Default: 8099)"
+    )
     private int port = 8099;
 
-    @Option(name = "--artifact-port", usage = "The artifact service port. (Default: 8098)")
+    @Option(
+      name = "--artifact-port",
+      usage = "The artifact service port. 0 to use a dynamic port. (Default: 8098)"
+    )
     private int artifactPort = 8098;
 
     @Option(name = "--artifacts-dir", usage = "The location to store staged artifact files")


 

----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 150334)
    Time Spent: 9h 50m  (was: 9h 40m)

> Portable Flink runner JobService entry point in a Docker container
> ------------------------------------------------------------------
>
>                 Key: BEAM-4130
>                 URL: https://issues.apache.org/jira/browse/BEAM-4130
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink
>            Reporter: Ben Sidhom
>            Assignee: Maximilian Michels
>            Priority: Minor
>             Fix For: 2.7.0
>
>          Time Spent: 9h 50m
>  Remaining Estimate: 0h
>
> The portable Flink runner exists as a Job Service that runs somewhere. We need a main entry point that itself spins up the job service (and artifact staging service). The main program itself should be packaged into an uberjar such that it can be run locally or submitted to a Flink deployment via `flink run`.



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