apache-flink操作,由docker在raspberry-pi上帮助[apache-flink]

oxcyiej7  于 2021-06-21  发布在  Flink
关注(0)|答案(0)|浏览(387)

docker是这样组成结构的:

version: "3"
services:
  jobmanager:
    image: ${FLINK_DOCKER_IMAGE_NAME:-flink}
    expose:
      - "6123"
    ports:
      - "8081:8081"
    command: jobmanager
    environment:
      - JOB_MANAGER_RPC_ADDRESS=jobmanager

  taskmanager:
    image: ${FLINK_DOCKER_IMAGE_NAME:-flink}
    expose:
      - "6121"
      - "6122"
      - "9000"
    depends_on:
      - jobmanager
    command: taskmanager
    links:
      - "jobmanager:jobmanager"
    environment:
      - JOB_MANAGER_RPC_ADDRESS=jobmanager

当我在覆盆子上作曲时,我犯了个错误

taskmanager_1  | Invalid maximum direct memory size: -XX:MaxDirectMemorySize=8388607T
taskmanager_1  | The specified size exceeds the maximum representable size.
taskmanager_1  | Error: Could not create the Java Virtual Machine.
taskmanager_1  | Error: A fatal exception has occurred. Program will exit.

内存错误。当我运行作业管理器时,它运行得很好。任务管理器是否占用更多空间?还是我做错了什么?任务管理器的最低硬件要求是什么?Flink不会在覆盆子上工作吗?如何确定?我怎样才能解决这个问题。谢谢您

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题