docker-hadoop icon indicating copy to clipboard operation
docker-hadoop copied to clipboard

Hadoop time is inconsistent with system time

Open pikeyang opened this issue 3 years ago • 1 comments

Can anyone help me?

pikeyang avatar May 10 '21 11:05 pikeyang

Hello, Just add the timezone corresponding to the location (eg: TZ: Europe/Paris) you want in environment, find an example bellow :

    image: bde2020/hadoop-namenode:latest
    container_name: namenode
    restart: always
    ports:
      - 9870:9870
      - 9000:9000
    volumes:
      - hadoop_namenode:/hadoop/dfs/name
    environment:
      CLUSTER_NAME: test
      TZ: Europe/Paris
    env_file:
      - ./hadoop.env
   

aurma97 avatar May 11 '21 09:05 aurma97