-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
tachyon-default.properties
122 lines (115 loc) · 5.27 KB
/
tachyon-default.properties
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Licensed to the University of California, Berkeley under one or more contributor license
# agreements. See the NOTICE file distributed with this work for additional information regarding
# copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the License. You may obtain a
# copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
# Default configuration properties for Tachyon
# All the properties except Build properties are override-able via tachyon-site.properties file.
# Build properties
tachyon.version=${project.version}
# Common properties
tachyon.home=/mnt/tachyon_default_home
tachyon.debug=false
tachyon.web.resources=${tachyon.home}/servers/src/main/webapp
tachyon.web.threads=1
tachyon.logs.dir=${tachyon.home}/logs
tachyon.underfs.hadoop.prefixes=hdfs://,s3://,s3n://,glusterfs:///
tachyon.underfs.hadoop.configuration=${tachyon.home}/conf/core-site.xml
tachyon.underfs.address=${tachyon.home}/underFSStorage
tachyon.underfs.hdfs.impl=org.apache.hadoop.hdfs.DistributedFileSystem
tachyon.underfs.glusterfs.impl=org.apache.hadoop.fs.glusterfs.GlusterFileSystem
tachyon.underfs.glusterfs.mapred.system.dir=glusterfs:///mapred/system
tachyon.data.folder=${tachyon.underfs.address}/tachyon/data
tachyon.workers.folder=${tachyon.underfs.address}/tachyon/workers
tachyon.usezookeeper=false
tachyon.zookeeper.election.path=/election
tachyon.zookeeper.leader.path=/leader
tachyon.async.enabled=false
tachyon.max.columns=1000
tachyon.test.mode=false
tachyon.max.table.metadata.byte=5MB
tachyon.host.resolution.timeout.ms=5000
# Master properties
tachyon.master.journal.folder=${tachyon.home}/journal/
tachyon.master.journal.formatter.class=tachyon.master.journal.JsonJournalFormatter
tachyon.master.journal.tailer.sleep.time.ms=1000
tachyon.master.journal.tailer.shutdown.quiet.wait.time.ms=5000
tachyon.master.journal.max.log.size.bytes=10MB
tachyon.master.format.file_prefix=_format_
tachyon.master.bind.host=0.0.0.0
tachyon.master.port=19998
tachyon.master.web.bind.host=0.0.0.0
tachyon.master.web.port=19999
tachyon.master.temporary.folder=/tmp
tachyon.master.heartbeat.interval.ms=1000
tachyon.master.max.worker.threads=2048
tachyon.master.worker.timeout.ms=10000
tachyon.master.whitelist=/
tachyon.master.retry=29
tachyon.master.resource.cpu=1
tachyon.master.resource.mem=1024MB
# Worker properties
tachyon.worker.bind.host=0.0.0.0
tachyon.worker.port=29998
tachyon.worker.data.bind.host=0.0.0.0
tachyon.worker.data.port=29999
tachyon.worker.web.bind.host=0.0.0.0
tachyon.worker.web.port=30000
tachyon.worker.data.folder=/tachyonworker/
tachyon.worker.heartbeat.timeout.ms=10000
tachyon.worker.to.master.heartbeat.interval.ms=1000
tachyon.worker.session.timeout.ms=10000
tachyon.worker.max.worker.threads=2048
tachyon.worker.min.worker.threads=1
tachyon.worker.checkpoint.threads=1
tachyon.worker.per.thread.checkpoint.cap.mb.sec=1000
tachyon.worker.data.server.class=tachyon.worker.netty.NettyDataServer
tachyon.worker.network.netty.boss.threads=1
tachyon.worker.network.netty.worker.threads=0
tachyon.worker.network.netty.shutdown.quiet.period=2
tachyon.worker.network.netty.shutdown.timeout=15
tachyon.worker.network.netty.file.transfer=MAPPED
tachyon.worker.memory.size=128MB
tachyon.worker.network.netty.watermark.high=32KB
tachyon.worker.network.netty.watermark.low=8KB
tachyon.worker.allocate.strategy.class=tachyon.worker.block.allocator.MaxFreeAllocator
tachyon.worker.evict.strategy.class=tachyon.worker.block.evictor.LRUEvictor
tachyon.worker.evict.strategy.lrfu.step.factor=0.25
tachyon.worker.evict.strategy.lrfu.attenuation.factor=2.0
tachyon.worker.tieredstore.level.max=1
tachyon.worker.tieredstore.level0.alias=MEM
tachyon.worker.tieredstore.level0.dirs.quota=${tachyon.worker.memory.size}
tachyon.worker.tieredstore.level0.dirs.path=/mnt/ramdisk
tachyon.worker.tieredstore.level0.reserved.ratio=0.1
tachyon.worker.space.reserver.enable=false
tachyon.worker.space.reserver.period.ms=1000
tachyon.worker.resource.cpu=1
tachyon.worker.resource.mem=1024MB
tachyon.worker.block.lock.count=1000
# User properties
tachyon.user.failed.space.request.limits=3
tachyon.user.heartbeat.interval.ms=1000
tachyon.user.file.writetype.default=CACHE_THROUGH
tachyon.user.file.tachyonstoragetype.default=STORE
tachyon.user.file.understoragetype.default=PERSIST
tachyon.user.default.block.size.byte=512MB
tachyon.user.quota.unit.bytes=8MB
tachyon.user.file.buffer.bytes=1MB
tachyon.user.remote.block.reader.class=tachyon.client.netty.NettyRemoteBlockReader
tachyon.user.remote.block.writer.class=tachyon.client.netty.NettyRemoteBlockWriter
tachyon.user.remote.read.buffer.size.byte=8MB
tachyon.user.localread.enable=true
tachyon.user.localwrite.enable=true
tachyon.user.network.netty.worker.threads=0
tachyon.user.network.netty.timeout.ms=3000
tachyon.user.remote.block.worker.client.threads=10
tachyon.user.local.block.worker.client.threads=10000
tachyon.user.block.master.client.threads=10
tachyon.user.file.master.client.threads=10