Skip to content

Commit 51d81c7

Browse files
Merge pull request #207 from vinodbhorge/gcp-checkpoint-support
Gcp checkpoint support
2 parents e2e23b1 + 25ed472 commit 51d81c7

7 files changed

+40
-0
lines changed

jobs-distribution/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,15 @@ RUN tar -xvf /tmp/jobs-distribution-1.0.tar.gz -C $FLINK_HOME/lib/
1010
RUN cp $FLINK_HOME/opt/flink-s3-fs-presto-1.13.5.jar $FLINK_HOME/lib/flink-aaa-s3-fs-presto-1.13.5.jar
1111
USER root
1212
RUN rm -f /tmp/jobs-distribution-1.0.tar.gz
13+
14+
COPY lib/flink-shaded-hadoop-2-uber-2.8.3-10.0.jar $FLINK_HOME/lib/
15+
COPY lib/gcs-connector-hadoop2-2.2.0.jar $FLINK_HOME/lib/
16+
COPY lib/hadoop-azure-3.3.1.jar $FLINK_HOME/lib/
17+
18+
RUN mkdir -p $FLINK_HOME/plugins/gs-fs-hadoop && mkdir -p $FLINK_HOME/plugins/azure-fs-hadoop
19+
20+
COPY lib/flink-gs-fs-hadoop-1.16.2.jar $FLINK_HOME/plugins/gs-fs-hadoop
21+
COPY lib/flink-azure-fs-hadoop-1.16.2.jar $FLINK_HOME/plugins/azure-fs-hadoop
22+
23+
COPY lib/core-site.xml $FLINK_HOME/conf/
1324
USER flink
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<configuration>
2+
<!-- GCP Configuration -->
3+
<property>
4+
<name>fs.gs.impl</name>
5+
<value>com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem</value>
6+
</property>
7+
<property>
8+
<name>fs.AbstractFileSystem.gs.impl</name>
9+
<value>com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS</value>
10+
</property>
11+
<property>
12+
<name>fs.gs.auth.type</name>
13+
<value>ADC</value>
14+
</property>
15+
16+
<!-- Azure Configuration -->
17+
<property>
18+
<name>fs.azure</name>
19+
<value>org.apache.hadoop.fs.azure.NativeAzureFileSystem</value>
20+
</property>
21+
<property>
22+
<name>fs.azure.account.auth.type</name>
23+
<value>OAuth</value>
24+
</property>
25+
<property>
26+
<name>fs.azure.account.oauth.provider.type</name>
27+
<value>org.apache.hadoop.fs.azurebfs.oauth2.ManagedIdentityTokenProvider</value>
28+
</property>
29+
</configuration>
26.5 MB
Binary file not shown.
44.4 MB
Binary file not shown.
41.3 MB
Binary file not shown.
97.4 KB
Binary file not shown.
539 KB
Binary file not shown.

0 commit comments

Comments
 (0)