[ https://issues.apache.org/jira/browse/BEAM-6872?focusedWorklogId=229902&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-229902 ]
ASF GitHub Bot logged work on BEAM-6872: ---------------------------------------- Author: ASF GitHub Bot Created on: 18/Apr/19 20:20 Start Date: 18/Apr/19 20:20 Worklog Time Spent: 10m Work Description: TheNeuralBit 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_r276818750 ########## File path: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/DataflowBatchWorkerHarness.java ########## @@ -53,12 +54,14 @@ private DataflowBatchWorkerHarness(DataflowWorkerHarnessOptions pipelineOptions) /** Creates the worker harness and then runs it. */ public static void main(String[] args) throws Exception { + BeamWorkerInitializers.runOnStartup(); Review comment: Do you mean add a comment so that no one moves it in the future? ---------------------------------------------------------------- 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: 229902) Time Spent: 5.5h (was: 5h 20m) > 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: 5.5h > 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)