-
Notifications
You must be signed in to change notification settings - Fork 1
/
flink.conf
35 lines (32 loc) · 1.27 KB
/
flink.conf
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
################################################################################
# Host-specific Flink configuration
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Customize Peel configuration values appearing in
#
# https://github.com/stratosphere/peel/blob/master/peel-extensions/src/main/resources/reference.flink.conf
#
# here.
#
system {
flink {
config {
yaml {
jobmanager.rpc.address = ${runtime.hostname}
jobmanager.rpc.port = 6002
jobmanager.heap.mb = 1024
jobmanager.web.port = 6004
# 28 GiB of memory
taskmanager.heap.mb = 28672
# 0.7 * 28 = 19.6 GiB will be managed
taskmanager.memory.fraction = 0.7
# 16384 * 16384 = 0.25 GiB memory for network
taskmanager.network.numberOfBuffers = 16384
taskmanager.network.bufferSizeInBytes = 16384
# tmp folder for spilling data to disk (on node-local storage)
taskmanager.tmp.dirs = "/data/1/peel/flink/tmp:/data/2/peel/flink/tmp:/data/3/peel/flink/tmp:/data/4/peel/flink/tmp"
# taskmanager.debug.memory.startLogThread = false
}
}
}
}