Abacn commented on code in PR #35232:
URL: https://github.com/apache/beam/pull/35232#discussion_r2143073728
##########
sdks/python/apache_beam/yaml/yaml_provider.py:
##########
@@ -385,7 +385,8 @@ def __init__(
def available(self):
# pylint: disable=subprocess-run-check
- trial = subprocess.run(['which', 'java'], capture_output=True)
+ trial = subprocess.run(['which', subprocess_server.JavaHelper.get_java()],
Review Comment:
there was an edge case here: if only JAVA_HOME is provided, the external
transform expansion should work, but here it assumes java not available
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]