occlum/demos/flink
2022-07-07 09:34:38 +08:00
..
download_flink.sh Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +08:00
flink.yaml Add hosts and hostname file 2022-04-06 15:18:08 +08:00
README.md modify demos after implementing autodep for copydirs 2021-09-24 19:02:26 +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 Modify flink demo with copy_bom 2021-09-23 15:42:15 +08:00

  1. Run the flink jobmanager ./run_flink_jobmanager_on_host.sh

  2. Run the taskManager ./run_flink_on_occlum_glibc.sh tm

  3. Run flink jobs example ./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.