Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
This has been tested with the apache/hop-web:2.0.0 image.
The fat JAR generated with the image is missing some dependencies, and this prevents the JAR from running with Cloud Dataflow. The issue probably affects other runners. But it does not affect the DirectRunner for instance.
The fat JAR seems to be including all the JARs in /usr/local/tomcat/lib and all the JARs in the subdirectories /usr/local/tomcat/plugins, but it is missing all the JARs in /usr/local/tomcat/webapps/ROOT/WEB-INF/lib.
This makes the JAR fail when launched in Dataflow, as some classes cannot be found while running the pipeline in Dataflow
When I manually include the WEB-INF/lib JARs in the fat JAR, that JAR works perfectly in Cloud Dataflow.
Attachments
Issue Links
- links to