davidferlay opened a new issue #11814: URL: https://github.com/apache/druid/issues/11814
### Affected Version - `0.22.0` ### Description - Cluster size - Configurations in use - Build such a Dockerfile: ``` FROM private-images:5000/fetcher:ba62efaaa9110 as fetcher WORKDIR /tmp RUN git clone https://github.com/apache/druid.git && \ cd druid && \ git checkout 0.22.0 FROM maven:3.8.3-openjdk-8 as builder COPY --from=fetcher /tmp/druid /tmp/druid WORKDIR /tmp/druid RUN apt-get update && apt-get install -y python3 python3-pip && \ pip3 install pyyaml argparse RUN mvn clean install -X -Pdist -DskipTests FROM private-images:5000/java:ba62efaaa9110 COPY --from=builder /tmp/druid/distribution/target/apache-druid-0.22.0-SNAPSHOT-bin.tar.gz /tmp/apache-druid-0.22.0-SNAPSHOT-bin.tar.gz WORKDIR /tmp RUN apk update \ && apk add --no-cache tar \ && tar -xzf apache-druid-0.22.0-SNAPSHOT-bin.tar.gz -C /opt \ && mv /opt/apache-druid-0.22.0-SNAPSHOT /opt/druid ENTRYPOINT ["/bin/echo", "This image should be run via a child image: overlord, broker, middlemanager..."] ``` - These error messages appear when running `mvn clean install -X -Pdist -DskipTests` using Maven `3.8.3` : ``` [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (generate-binary-license) on project distribution: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (generate-binary-license) on project distribution: Command execution failed. [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (generate-binary-notice) on project distribution: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (generate-binary-notice) on project distribution: Command execution failed. ``` - Debugging There is an issue in both of these files: - https://github.com/apache/druid/blob/druid-0.22.0/distribution/bin/generate-binary-license.py - https://github.com/apache/druid/blob/druid-0.22.0/distribution/bin/generate-binary-notice.py They are missing `Loader=yaml.FullLoader` parameter -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
