????????Flink 1.11.0????????????docker-compose??????docker-compose??????????
version: "2.1"
services:
  jobmanager:
    image: flink:1.11.0-scala_2.12
    expose:
      - "6123"
    ports:
      - "8081:8081"
    command: jobmanager
    environment:
      - JOB_MANAGER_RPC_ADDRESS=jobmanager
      - 
HADOOP_CLASSPATH=/data/hadoop-2.9.2/etc/hadoop:/data/hadoop-2.9.2/share/hadoop/common/lib/*:/data/hadoop-2.9.2/share/hadoop/common/*:/data/hadoop-2.9.2/share/hadoop/hdfs:/data/hadoop-2.9.2/share/hadoop/hdfs/lib/*:/data/hadoop-2.9.2/share/hadoop/hdfs/*:/data/hadoop-2.9.2/share/hadoop/yarn:/data/hadoop-2.9.2/share/hadoop/yarn/lib/*:/data/hadoop-2.9.2/share/hadoop/yarn/*:/data/hadoop-2.9.2/share/hadoop/mapreduce/lib/*:/data/hadoop-2.9.2/share/hadoop/mapreduce/*:/contrib/capacity-scheduler/*.jar
    volumes:
      - ./jobmanager/conf:/opt/flink/conf
      - ./data:/data


  taskmanager:
    image: flink:1.11.0-scala_2.12
    expose:
      - "6121"
      - "6122"
    depends_on:
      - jobmanager
    command: taskmanager
    links:
      - "jobmanager:jobmanager"
    environment:
      - JOB_MANAGER_RPC_ADDRESS=jobmanager
    volumes:
      - ./taskmanager/conf:/opt/flink/conf
networks:
  default:
    external:
      name: flink-network



hadoop-2.9.2????????data????????????????jobmanager??taskmanager??????????????????HADOOP_CLASSPATH????????cli??????webui??????jobmanager??????????Could
 not find a file system implementation for scheme 'hdfs'????????????????????????

回复