-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature][E2E] E2E Test the new FLINK YARN environment mode (#4064)
Co-authored-by: zackyoungh <zackyoungh@users.noreply.github.com>
- Loading branch information
1 parent
e4240c3
commit 58bf7f1
Showing
17 changed files
with
647 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ARG FLINK_VERSION | ||
|
||
FROM flink:${FLINK_VERSION}-scala_2.12-java8 as flink-base | ||
|
||
|
||
FROM eclipse-temurin:8-jre-jammy | ||
|
||
ARG FLINK_VERSION | ||
ENV FLINK_VERSION=${FLINK_VERSION} | ||
ENV DINKY_HOME=/opt/dinky/ | ||
ENV H2_DB=./tmp/db/h2 | ||
ADD build/dinky-release*.tar.gz /opt | ||
RUN ls /opt && mv /opt/dinky-release* /opt/dinky | ||
|
||
|
||
WORKDIR /opt/dinky/ | ||
|
||
USER root | ||
COPY --from=flink-base /opt/flink/lib/*.jar /opt/dinky/extends/flink${FLINK_VERSION}/flink/ | ||
RUN rm -f /opt/dinky/extends/flink${FLINK_VERSION}/flink/flink-table-planner-loader*.jar | ||
|
||
COPY --from=flink-base /opt/flink/opt/flink-table-planner*.jar /opt/dinky/extends/flink${FLINK_VERSION}/flink/ | ||
|
||
RUN mkdir /opt/dinky/customJar && chmod -R 777 /opt/dinky/ && sed -i 's/-Xms512M -Xmx2048M -XX:PermSize=512M/-XX:+UseContainerSupport -XX:InitialRAMPercentage=70.0 -XX:MaxRAMPercentage=70.0/g' ./bin/auto.sh | ||
|
||
EXPOSE 8888 | ||
|
||
CMD ./bin/auto.sh startOnPending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.