Sign inSign up

rlutowsk/hbase

By rlutowsk

•Updated over 1 year ago

HBase for learning purposes

Image
0

330

rlutowsk/hbase repository overview

The container has been created to show and exercise some of the features of HBase working in distributed mode.

The following docker-compose.yml has been used:

services:
  master:
    image: rlutowsk/hbase:distributed
    hostname: master
    networks:
      hbase_net:
        ipv4_address: 172.16.238.10
    ports:
      - 9860-9890:9860-9890
      - 8088:8088
      - 9090:9090
      - 16010:16010
    volumes:
      - ssh_home:/home/hdfsuser/.ssh_shared
      - ~/master:/opt/hadoop/hadoopdata
      - ~/src:/home/hdfsuser/src
    environment:
      NUM_OF_NODES: 4
    depends_on:
      - node1
      - node2
      - node3
      - node4
    entrypoint: ["start-master.sh"]
    pre_stop:
      - command: stop-master.sh
  
  node1:
    image: rlutowsk/hbase:distributed
    entrypoint: ["start-node.sh"]
    volumes:
      - ssh_home:/home/hdfsuser/.ssh
      - ~/node1:/opt/hadoop/hadoopdata
    hostname: "node1"
    networks:
      hbase_net:
        ipv4_address: 172.16.238.11
  
  node2:
    image: rlutowsk/hbase:distributed
    entrypoint: ["start-node.sh"]
    volumes:
      - ssh_home:/home/hdfsuser/.ssh
      - ~/node2:/opt/hadoop/hadoopdata
    hostname: "node2"
    networks:
      hbase_net:
        ipv4_address: 172.16.238.12
  
  node3:
    image: rlutowsk/hbase:distributed
    entrypoint: ["start-node.sh"]
    volumes:
      - ssh_home:/home/hdfsuser/.ssh
      - ~/node3:/opt/hadoop/hadoopdata
    hostname: "node3"
    networks:
      hbase_net:
        ipv4_address: 172.16.238.13
  
  node4:
    image: rlutowsk/hbase:distributed
    entrypoint: ["start-node.sh"]
    volumes:
      - ssh_home:/home/hdfsuser/.ssh
      - ~/node4:/opt/hadoop/hadoopdata
    hostname: "node4"
    networks:
      hbase_net:
        ipv4_address: 172.16.238.14

volumes:
    ssh_home:

networks:
  hbase_net:
    ipam:
      driver: default
      config:
        - subnet: "172.16.238.0/24"

Tag summary

Content type

Image

Digest

sha256:6f1daa22e…

Size

1.5 GB

Last updated

over 1 year ago

docker pull rlutowsk/hbase:distributed