<?xml version="1.0"?>
<!--
  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.
  -->

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<configuration>

<!-- System Settings -->
<property>
  <name>tajo.rootdir</name>
  <value>hdfs://master:9000/tajo</value>
  <description>Base directory including system directories.</description>
</property>

<!-- Tajo Worker Configuration Defaults -->

<property>
  <name>tajo.master.umbilical-rpc.address</name>
  <value>master:26001</value>
  <description>TajoMaster binding address between master and workers.</description>
</property>

<property>
  <name>tajo.master.client-rpc.address</name>
  <value>master:26002</value>
  <description>TajoMaster binding address between master and clients.</description>
</property>

<property>
  <name>tajo.resource-tracker.rpc.address</name>
  <value>master:26003</value>
  <description>TajoMaster binding address between master and workers.</description>
</property>

<property>
  <name>tajo.catalog.client-rpc.address</name>
  <value>master:26005</value>
  <description>CatalogServer binding address between catalog server and workers.</description>
</property>


<property>
	<name>tajo.master.info-http.address</name>
	<value>master:26080</value>
	<description>Tajo Master Info Http</description>
</property>


<!-- Tajo Worker Configuration Defaults -->
<property>
  <name>tajo.worker.peer-rpc.address</name>
  <value>0.0.0.0:28091</value>
  <description>Tajo Worker Peer Rpc</description>
</property>

<property>
  <name>tajo.worker.client-rpc.address</name>
  <value>0.0.0.0:28092</value>
  <description>Tajo Worker Client Rpc</description>
</property>

<property>
  <name>tajo.worker.info-http.address</name>
  <value>0.0.0.0:28080</value>
  <description>Tajo Worker Info Http</description>
</property>


<property>
  <name>tajo.worker.tmpdir.locations</name>
  <value>/home/hadoop/tajo-0.11.3/tmp</value>
  <description>A base for other temporary directories.</description>
</property>

<property>
 <name>tajo.worker.resource.dfs-dir-aware</name>
 <value>true</value>
</property>


<!-- Worker Settings -->
<!--
<property>
  <name>tajo.worker.resource.cpu-cores</name>
  <value>4</value>
  <description>Number of CPU cores</description>
</property>

<property>
  <name>tajo.task.resource.min.memory-mb</name>
  <value>2000</value>
  <description>Minimum allocatable memory per task</description>
</property>

<property>
  <name>tajo.worker.resource.disks</name>
  <value>2</value>
  <description>Available disk capacity (usually number of disks)</description>
</property>
-->



<!-- Date/Time -->
<!--
 <property>
  <name>tajo.timezone</name>
  <value>GMT</value>
  <description>Global system time zone which affects all tables in which table time zones are not specified</description>
 </property>

 <property>
  <name>tajo.datetime.date-order</name>
  <value>YMD</value>
  <description>Determine date order. One of them YMD, DMY, MDY should be here.</description>
 </property>
-->


<!-- Debug -->
<!--
 <property>
  <name>tajo.debug.enabled</name>
  <value>false</value>
  <description>Debug mode</description>
 </property>
-->


</configuration>
