Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3977

Fat jar generated in hop-web container is missing some dependencies

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              mcasters Matt Casters
              iht Israel Herraiz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m