You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/01 17:15:00 UTC

[jira] [Work logged] (BEAM-6872) Add hook for user-defined JVM initialization in workers

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

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

                Author: ASF GitHub Bot
            Created on: 01/Apr/19 17:14
            Start Date: 01/Apr/19 17:14
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on pull request #8104: [BEAM-6872] Add hook for user-defined JVM initialization in workers
URL: https://github.com/apache/beam/pull/8104#discussion_r270967393
 
 

 ##########
 File path: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/DataflowWorkerHarnessHelper.java
 ##########
 @@ -95,6 +97,17 @@ public static void configureLogging(DataflowWorkerHarnessOptions pipelineOptions
     DataflowWorkerLoggingInitializer.configure(pipelineOptions);
   }
 
+  public static void runUserDefinedInitialization() {
+    ServiceLoader<DataflowWorkerInitializer> loader =
 
 Review comment:
   Sounds worthwhile. Since it has been copied a few times now.
 
----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 221363)
    Time Spent: 1h 10m  (was: 1h)

> Add hook for user-defined JVM initialization in workers
> -------------------------------------------------------
>
>                 Key: BEAM-6872
>                 URL: https://issues.apache.org/jira/browse/BEAM-6872
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-dataflow
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: Minor
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Expose an interface for users to run some one-time initialization code when a worker starts up.
> This can be useful for things like overriding the Default ZoneRulesProvider, or setting up custom SSL providers.



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