-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.env
46 lines (35 loc) · 1.76 KB
/
docker-compose.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This setting sets the default HDFS replication factor. Different clients
# can define different default replication factors
HDFS_REPLICATION_FACTOR=2
# Configuration of namenode
HDFS_NAMENODE_PORT=8020
HDFS_NAMENODE_HOSTNAME=hadoop-namenode
# Default Hadoop filesystem
HDFS_DEFAULT_FS=hdfs://hadoop-namenode:8020
# This setting defines the host of the Hadoop YARN Resourcemanager. This
# is required by all nodes and clients
YARN_RESOURCEMANAGER_HOSTNAME=hadoop-resourcemanager
# This setting defines the host of the Hadoop MAPREDUCE History Server. This
# is required by all clients
MAPRED_HISTORYSERVER_HOSTNAME=hadoop-historyserver
# This setting defines the number of CPU cores available on a specific
# NodeManager. Different nodes may have different number of cores.
YARN_NODEMANAGER_CORES=32
# This setting defines the amount of RAM in MB available for YARN on a specific
# NodeManager. Different nodes may have different amounts of RAM
YARN_NODEMANAGER_MEMORY=65536
# The maximum allocation for every container request at the RM, in MBs.
# Memory requests higher than this won't take effect, and will get capped to this value.
YARN_SCHEDULER_MAXIMUM_ALLOCATION_MB=131072
# Whether virtual memory limits will be enforced for containers.
YARN_NODEMANAGER_VMEM_CHECK_ENABLED=true
# Ratio between virtual memory to physical memory when setting memory limits for containers.
# Container allocations are expressed in terms of physical memory,
# and virtual memory usage is allowed to exceed this allocation by this ratio.
YARN_NODEMANAGER_VMEM_PMEM_RATIO=2.1
# AWS S3 Configuration
#S3_ENDPOINT=s3.eu-central-1.amazonaws.com
#S3_PROXY_HOST=<your-proxy-host>
#S3_PROXY_PORT=<your-proxy-port>
#AWS_ACCESS_KEY_ID=<your-aws-access-key>
#AWS_SECRET_ACCESS_KEY=<your-aws-access-secret>