You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/11/03 23:20:52 UTC

[GitHub] [beam] chamikaramj commented on a change in pull request #15638: Only stage the single (fat) jar when auto-starting expansion service.

chamikaramj commented on a change in pull request #15638:
URL: https://github.com/apache/beam/pull/15638#discussion_r742419058



##########
File path: sdks/python/apache_beam/transforms/external.py
##########
@@ -652,7 +652,7 @@ class JavaJarExpansionService(object):
   """
   def __init__(self, path_to_jar, extra_args=None):
     if extra_args is None:
-      extra_args = ['{{PORT}}']
+      extra_args = ['{{PORT}}', f'--filesToStage={path_to_jar}']

Review comment:
       Thanks. Agree. I think this is a definite regression for x-lang.




-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org