-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
executable file
·78 lines (73 loc) · 2.36 KB
/
supervisord.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[supervisord]
nodaemon=true
loglevel=debug
[program:zookeeper]
command=/usr/local/zookeeper/bin/zkServer.sh start-foreground
user=daemon
priority=0
[program:mysql]
command=/usr/bin/mysqld_safe
user=mysql
priority=0
[program:druid-coordinator]
user=druid
command=java
-server
-Xmx1g
-Duser.timezone=UTC
-Dfile.encoding=UTF-8
-Ddruid.host=%(ENV_HOSTIP)s
-Ddruid.extensions.loadList=[\"mysql-metadata-storage\"]
-Ddruid.extensions.directory=/usr/local/druid/extensions
-Ddruid.extensions.hadoopDependenciesDir=/usr/local/druid/hadoop-dependencies
-Ddruid.metadata.storage.type=mysql
-Ddruid.metadata.storage.connector.connectURI=jdbc:mysql://localhost:3306/druid
-Ddruid.metadata.storage.connector.user=druid
-Ddruid.metadata.storage.connector.password=diurd
-Ddruid.coordinator.asOverlord.enabled=true
-Ddruid.coordinator.asOverlord.overlordService=druid/overlord
-Ddruid.indexer.fork.property.druid.processing.numThreads=1
-Ddruid.indexer.storage.type=metadata
-Ddruid.indexer.queue.startDelay=PT0M
-Ddruid.indexer.runner.javaOpts="-server -Xmx1g -XX:MaxDirectMemorySize=2147483648"
-Ddruid.indexer.logs.directory=/var/log/druid
-Ddruid.processing.buffer.sizeBytes=536870912
-Ddruid.coordinator.startDelay=PT5S
-cp /usr/local/druid/lib/*
io.druid.cli.Main server coordinator
redirect_stderr=true
priority=100
[program:druid-historical]
user=druid
command=java
-server
-Xmx1g
-Duser.timezone=UTC
-Dfile.encoding=UTF-8
-Ddruid.host=%(ENV_HOSTIP)s
-Ddruid.extensions.loadList=[\"druid-s3-extensions\"]
-Ddruid.extensions.directory=/usr/local/druid/extensions
-Ddruid.extensions.hadoopDependenciesDir=/usr/local/druid/hadoop-dependencies
-Ddruid.s3.accessKey=AKIAIMKECRUYKDQGR6YQ
-Ddruid.s3.secretKey=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
-Ddruid.computation.buffer.size=67108864
-Ddruid.segmentCache.locations="[{\"path\":\"/var/tmp/druid/indexCache\",\"maxSize\":5000000000}]"
-Ddruid.server.maxSize=5000000000
-cp /usr/local/druid/lib/*
io.druid.cli.Main server historical
redirect_stderr=true
priority=100
[program:druid-broker]
user=druid
command=java
-server
-Xmx1g
-Duser.timezone=UTC
-Dfile.encoding=UTF-8
-Ddruid.host=%(ENV_HOSTIP)s
-Ddruid.computation.buffer.size=67108864
-Ddruid.broker.cache.sizeInBytes=33554432
-cp /usr/local/druid/lib/*
io.druid.cli.Main server broker
redirect_stderr=true
priority=100