Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
Till Westmann | ea8ab39 | 2013-06-05 15:17:08 -0700 | [diff] [blame] | 2 | <!-- |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 3 | ! Licensed to the Apache Software Foundation (ASF) under one |
| 4 | ! or more contributor license agreements. See the NOTICE file |
| 5 | ! distributed with this work for additional information |
| 6 | ! regarding copyright ownership. The ASF licenses this file |
| 7 | ! to you under the Apache License, Version 2.0 (the |
| 8 | ! "License"); you may not use this file except in compliance |
| 9 | ! with the License. You may obtain a copy of the License at |
| 10 | ! |
| 11 | ! http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ! |
| 13 | ! Unless required by applicable law or agreed to in writing, |
| 14 | ! software distributed under the License is distributed on an |
| 15 | ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | ! KIND, either express or implied. See the License for the |
| 17 | ! specific language governing permissions and limitations |
| 18 | ! under the License. |
Till Westmann | ea8ab39 | 2013-06-05 15:17:08 -0700 | [diff] [blame] | 19 | !--> |
ramangrover29 | 116eb97 | 2013-02-20 20:47:35 +0000 | [diff] [blame] | 20 | <cluster xmlns="cluster"> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 21 | <java_home>/usr/lib/jvm/jdk-8-oracle-x64/jre</java_home> |
| 22 | <log_dir>/tmp/asterix/logs</log_dir> |
| 23 | <txn_log_dir>/tmp/asterix/txnLogs</txn_log_dir> |
| 24 | <store>storage</store> |
| 25 | <working_dir> |
| 26 | <dir>/tmp/asterix-installer</dir> |
| 27 | <NFS>true</NFS> |
| 28 | </working_dir> |
Murtadha Hubail | ae2309f | 2016-02-21 00:56:20 -0800 | [diff] [blame] | 29 | <!-- Sets the time duration between two heartbeats from each node controller in milliseconds (default: 10000) --> |
| 30 | <heartbeat_period>10000</heartbeat_period> |
| 31 | <!-- Sets the maximum number of missed heartbeats before a node is marked as dead (default: 5) --> |
| 32 | <max_heartbeat_lapse_periods>5</max_heartbeat_lapse_periods> |
| 33 | <!-- Sets the time duration between two profile dumps from each node controller in milliseconds. 0 to disable. (default: 0) --> |
| 34 | <profile_dump_period>0</profile_dump_period> |
| 35 | <!-- Sets the default number of job attempts allowed if not specified in the job specification. (default: 5) --> |
| 36 | <default_max_job_attempts>5</default_max_job_attempts> |
| 37 | <!-- Limits the number of historical jobs remembered by the system to the specified value. (default: 10) --> |
| 38 | <job_history_size>10</job_history_size> |
| 39 | <!-- Limits the amount of time results for asynchronous jobs should be retained by the system in milliseconds. (default: 24 hours) --> |
| 40 | <result_time_to_live>86400000</result_time_to_live> |
| 41 | <!-- The duration within which an instance of the result cleanup should be invoked in milliseconds. (default: 1 minute) --> |
| 42 | <result_sweep_threshold>60000</result_sweep_threshold> |
Ian Maxon | f7b6453 | 2015-12-09 17:28:18 -0800 | [diff] [blame] | 43 | <master_node> |
| 44 | <id>master</id> |
| 45 | <client_ip>127.0.0.1</client_ip> |
| 46 | <cluster_ip>127.0.0.1</cluster_ip> |
| 47 | <client_port>1098</client_port> |
| 48 | <cluster_port>1099</cluster_port> |
| 49 | <http_port>8888</http_port> |
| 50 | </master_node> |
| 51 | <node> |
| 52 | <id>nc1</id> |
| 53 | <cluster_ip>127.0.0.1</cluster_ip> |
| 54 | <txn_log_dir>/tmp/asterix/nc1/txnLogs</txn_log_dir> |
| 55 | <iodevices>/tmp/asterix/nc1/p1,/tmp/asterix/nc1/p2</iodevices> |
| 56 | |
| 57 | </node> |
| 58 | <node> |
| 59 | <id>nc2</id> |
| 60 | <cluster_ip>127.0.0.1</cluster_ip> |
| 61 | <txn_log_dir>/tmp/asterix/nc2/txnLogs</txn_log_dir> |
| 62 | <iodevices>/tmp/asterix/nc2/p1,/tmp/asterix/nc2/p2</iodevices> |
| 63 | </node> |
ramangrover29 | 116eb97 | 2013-02-20 20:47:35 +0000 | [diff] [blame] | 64 | </cluster> |