blob: 20f697f9235a8dcc184a6dfc46682e2b77f955f1 [file] [log] [blame]
Ian Maxonf7b64532015-12-09 17:28:18 -08001<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
Till Westmannea8ab392013-06-05 15:17:08 -07002<!--
Ian Maxon928bbd12015-09-14 17:12:48 -07003 ! 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 Westmannea8ab392013-06-05 15:17:08 -070019 !-->
ramangrover29116eb972013-02-20 20:47:35 +000020<cluster xmlns="cluster">
Ian Maxonf7b64532015-12-09 17:28:18 -080021 <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 Hubailae2309f2016-02-21 00:56:20 -080029 <!-- 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 Maxonf7b64532015-12-09 17:28:18 -080043 <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>
ramangrover29116eb972013-02-20 20:47:35 +000064</cluster>