occlum/demos/flink
2023-03-29 09:31:20 +08:00
..
download_flink.sh [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
flink.yaml Add hosts and hostname file 2022-04-06 15:18:08 +08:00
preinstall_deps.sh [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
README.md [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
run_flink_jobmanager_on_host.sh Add the flink demo 2021-03-22 13:30:55 +08:00
run_flink_on_occlum_glibc.sh Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00

Run Flink on Occlum

Preinstall dependencies

Related dependencies: openjdk-11

./preinstall_deps.sh
./run_flink_jobmanager_on_host.sh

Run the taskManager

./run_flink_on_occlum_glibc.sh tm
./run_flink_on_occlum_glibc.sh task

Note:

  1. If running the jobmanager in docker, please export the port 8081 and 6123
  2. Step 2 may report warning for not finding shared objects. It doesn't matter. To avoid these warnings, you can REPLACE the FIRST LINE of config file /opt/occlum/etc/template/occlum_elf_loader.config with /opt/occlum/glibc/lib/ld-linux-x86-64.so.2 /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/jvm/java-11-openjdk-amd64/lib/server.