blob: 20f697f9235a8dcc184a6dfc46682e2b77f955f1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
! Licensed to the Apache Software Foundation (ASF) 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.
!-->
<cluster xmlns="cluster">
<java_home>/usr/lib/jvm/jdk-8-oracle-x64/jre</java_home>
<log_dir>/tmp/asterix/logs</log_dir>
<txn_log_dir>/tmp/asterix/txnLogs</txn_log_dir>
<store>storage</store>
<working_dir>
<dir>/tmp/asterix-installer</dir>
<NFS>true</NFS>
</working_dir>
<!-- Sets the time duration between two heartbeats from each node controller in milliseconds (default: 10000) -->
<heartbeat_period>10000</heartbeat_period>
<!-- Sets the maximum number of missed heartbeats before a node is marked as dead (default: 5) -->
<max_heartbeat_lapse_periods>5</max_heartbeat_lapse_periods>
<!-- Sets the time duration between two profile dumps from each node controller in milliseconds. 0 to disable. (default: 0) -->
<profile_dump_period>0</profile_dump_period>
<!-- Sets the default number of job attempts allowed if not specified in the job specification. (default: 5) -->
<default_max_job_attempts>5</default_max_job_attempts>
<!-- Limits the number of historical jobs remembered by the system to the specified value. (default: 10) -->
<job_history_size>10</job_history_size>
<!-- Limits the amount of time results for asynchronous jobs should be retained by the system in milliseconds. (default: 24 hours) -->
<result_time_to_live>86400000</result_time_to_live>
<!-- The duration within which an instance of the result cleanup should be invoked in milliseconds. (default: 1 minute) -->
<result_sweep_threshold>60000</result_sweep_threshold>
<master_node>
<id>master</id>
<client_ip>127.0.0.1</client_ip>
<cluster_ip>127.0.0.1</cluster_ip>
<client_port>1098</client_port>
<cluster_port>1099</cluster_port>
<http_port>8888</http_port>
</master_node>
<node>
<id>nc1</id>
<cluster_ip>127.0.0.1</cluster_ip>
<txn_log_dir>/tmp/asterix/nc1/txnLogs</txn_log_dir>
<iodevices>/tmp/asterix/nc1/p1,/tmp/asterix/nc1/p2</iodevices>
</node>
<node>
<id>nc2</id>
<cluster_ip>127.0.0.1</cluster_ip>
<txn_log_dir>/tmp/asterix/nc2/txnLogs</txn_log_dir>
<iodevices>/tmp/asterix/nc2/p1,/tmp/asterix/nc2/p2</iodevices>
</node>
</cluster>