Created
March 20, 2018 18:02
-
-
Save jerson/6b7fd7972bb8655a01251a0acfa94b13 to your computer and use it in GitHub Desktop.
hadoop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
namenode: | |
image: uhopper/hadoop-namenode:2.7.2 | |
ports: | |
- 8020:8020 | |
- 50070:50070 | |
volumes: | |
- ./tmp/namenode:/hadoop/dfs/name | |
environment: | |
- CLUSTER_NAME=sample | |
datanode: | |
image: uhopper/hadoop-datanode:2.7.2 | |
volumes: | |
- ./tmp/datanode:/hadoop/dfs/data | |
environment: | |
- CORE_CONF_fs_defaultFS=hdfs://namenode:8020 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment