blob: aa68ea71876403f5c1c0e97c64a3aa9c3f58b297 [file] [log] [blame]
Ian Maxon231c24d2015-09-29 15:43:25 -07001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
19
20<asterixConfiguration xmlns="asterixconf">
21 <instanceName>docker-minitest</instanceName>
22 <metadataNode>nc1</metadataNode>
23 <store>
24 <ncId>nc1</ncId>
25 <storeDirs>storage1</storeDirs>
26 </store>
27 <store>
28 <ncId>nc2</ncId>
29 <storeDirs>storage2</storeDirs>
30 </store>
31 <coredump>
32 <ncId>nc1</ncId>
33 <coredumpPath>/asterixdb/</coredumpPath>
34 <ncId>nc2</ncId>
35 <coredumpPath>/asterixdb/</coredumpPath>
36 </coredump>
37 <transactionLogDir>
38 <ncId>nc1</ncId>
39 <txnLogDirPath>/asterixdb/txnLogs1/</txnLogDirPath>
40 </transactionLogDir>
41 <transactionLogDir>
42 <ncId>nc2</ncId>
43 <txnLogDirPath>/asterixdb/txnLogs2/</txnLogDirPath>
44 </transactionLogDir>
45
46 <property>
47 <name>nc.java.opts</name>
48 <value>-Xmx1536m</value>
49 <description>JVM parameters for each Node Contoller (NC)</description>
50 </property>
51
52 <property>
53 <name>cc.java.opts</name>
54 <value>-Xmx1024m</value>
55 <description>JVM parameters for each Cluster Contoller (CC)
56 </description>
57 </property>
58
59 <property>
60 <name>max.wait.active.cluster</name>
61 <value>60</value>
62 <description>Maximum wait (in seconds) for a cluster to be ACTIVE (all nodes are available)
63 before a submitted query/statement can be executed. (Default = 60 seconds)
64 </description>
65 </property>
66
67 <property>
68 <name>storage.buffercache.pagesize</name>
69 <value>131072</value>
70 <description>The page size in bytes for pages in the buffer cache.
71 (Default = "131072" // 128KB)
72 </description>
73 </property>
74
75 <property>
76 <name>storage.buffercache.size</name>
77 <value>536870912</value>
78 <description>The size of memory allocated to the disk buffer cache.
79 The value should be a multiple of the buffer cache page size(Default
80 = "536870912" // 512MB)
81 </description>
82 </property>
83
84 <property>
85 <name>storage.buffercache.maxopenfiles</name>
86 <value>214748364</value>
87 <description>The maximum number of open files in the buffer cache.
88 (Default = "214748364")
89 </description>
90 </property>
91
92 <property>
93 <name>storage.memorycomponent.pagesize</name>
94 <value>131072</value>
95 <description>The page size in bytes for pages allocated to memory
96 components. (Default = "131072" // 128KB)
97 </description>
98 </property>
99
100 <property>
101 <name>storage.memorycomponent.numpages</name>
102 <value>256</value>
103 <description>The number of pages to allocate for a memory component.
104 (Default = 256)
105 </description>
106 </property>
107 <property>
108 <name>storage.metadata.memorycomponent.numpages</name>
109 <value>64</value>
110 <description>The number of pages to allocate for a memory component.
111 (Default = 64)
112 </description>
113 </property>
114
115 <property>
116 <name>storage.memorycomponent.numcomponents</name>
117 <value>2</value>
118 <description>The number of memory components to be used per lsm index.
119 (Default = 2)
120 </description>
121 </property>
122
123 <property>
124 <name>storage.memorycomponent.globalbudget</name>
125 <value>536870912</value>
126 <description>The total size of memory in bytes that the sum of all
127 open memory
128 components cannot exceed. (Default = "536870192" // 512MB)
129 </description>
130 </property>
131
132 <property>
133 <name>storage.lsm.bloomfilter.falsepositiverate</name>
134 <value>0.01</value>
135 <description>The maximum acceptable false positive rate for bloom
136 filters associated with LSM indexes. (Default = "0.01" // 1%)
137 </description>
138 </property>
139
140 <property>
141 <name>txn.log.buffer.numpages</name>
142 <value>8</value>
143 <description>The number of in-memory log buffer pages. (Default = "8")
144 </description>
145 </property>
146
147 <property>
148 <name>txn.log.buffer.pagesize</name>
149 <value>524288</value>
150 <description>The size of pages in the in-memory log buffer. (Default =
151 "524288" // 512KB)
152 </description>
153 </property>
154
155 <property>
156 <name>txn.log.partitionsize</name>
157 <value>2147483648</value>
158 <description>The maximum size of a log file partition allowed before
159 rotating the log to the next partition. (Default = "2147483648" //
160 2GB)
161 </description>
162 </property>
163
164 <property>
165 <name>txn.log.checkpoint.lsnthreshold</name>
166 <value>67108864</value>
167 <description>The size of the window that the maximum LSN is allowed to
168 be ahead of the checkpoint LSN by. (Default = ""67108864" // 64M)
169 </description>
170 </property>
171
172 <property>
173 <name>txn.log.checkpoint.pollfrequency</name>
174 <value>120</value>
175 <description>The time in seconds between that the checkpoint thread
176 waits between polls. (Default = "120" // 120s)
177 </description>
178 </property>
179
180 <property>
181 <name>txn.log.checkpoint.history</name>
182 <value>0</value>
183 <description>The number of old log partition files to keep before
184 discarding. (Default = "0")
185 </description>
186 </property>
187
188 <property>
189 <name>txn.lock.escalationthreshold</name>
190 <value>1000</value>
191 <description>The number of entity level locks that need to be acquired
192 before the locks are coalesced and escalated into a dataset level
193 lock. (Default = "1000")
194 </description>
195 </property>
196
197 <property>
198 <name>txn.lock.shrinktimer</name>
199 <value>5000</value>
200 <description>The time in milliseconds to wait before deallocating
201 unused lock manager memory. (Default = "5000" // 5s)
202 </description>
203 </property>
204
205 <property>
206 <name>txn.lock.timeout.waitthreshold</name>
207 <value>60000</value>
208 <description>The time in milliseconds to wait before labeling a
209 transaction which has been waiting for a lock timed-out. (Default =
210 "60000" // 60s)
211 </description>
212 </property>
213
214 <property>
215 <name>txn.lock.timeout.sweepthreshold</name>
216 <value>10000</value>
217 <description>The time in milliseconds the timeout thread waits between
218 sweeps to detect timed-out transactions. (Default = "10000" // 10s)
219 </description>
220 </property>
221
222 <property>
223 <name>compiler.sortmemory</name>
224 <value>33554432</value>
225 <description>The amount of memory in bytes given to sort operations.
226 (Default = "33554432" // 32mb)
227 </description>
228 </property>
229
230 <property>
231 <name>compiler.joinmemory</name>
232 <value>33554432</value>
233 <description>The amount of memory in bytes given to join operations.
234 (Default = "33554432" // 32mb)
235 </description>
236 </property>
237
238 <property>
239 <name>compiler.framesize</name>
240 <value>131072</value>
241 <description>The Hyracks frame size that the compiler configures per
242 job. (Default = "131072" // 128KB)
243 </description>
244 </property>
245
246 <property>
247 <name>web.port</name>
248 <value>19001</value>
249 <description>The port for the ASTERIX web interface. (Default = 19001)
250 </description>
251 </property>
252
253 <property>
254 <name>api.port</name>
255 <value>19002</value>
256 <description>The port for the ASTERIX API server. (Default = 19002)
257 </description>
258 </property>
259
260 <property>
261 <name>log.level</name>
262 <value>INFO</value>
263 <description>The minimum log level to be displayed. (Default = INFO)
264 </description>
265 </property>
266</asterixConfiguration>