Author: jihoonson
Date: Tue Oct  6 06:44:17 2015
New Revision: 1706954

URL: http://svn.apache.org/viewvc?rev=1706954&view=rev
Log:
add missing files

Modified:
    tajo/site/docs/devel/_sources/jdbc_driver.txt
    tajo/site/docs/devel/_sources/sql_language/alter_table.txt
    tajo/site/docs/devel/_sources/sql_language/ddl.txt
    tajo/site/docs/devel/_sources/table_management/file_formats.txt
    tajo/site/docs/devel/_sources/table_management/tablespaces.txt
    tajo/site/docs/devel/_sources/table_management/text.txt
    tajo/site/docs/devel/_static/basic.css
    tajo/site/docs/devel/_static/doctools.js
    tajo/site/docs/devel/_static/down-pressed.png
    tajo/site/docs/devel/_static/down.png
    tajo/site/docs/devel/_static/file.png
    tajo/site/docs/devel/_static/jquery.js
    tajo/site/docs/devel/_static/minus.png
    tajo/site/docs/devel/_static/plus.png
    tajo/site/docs/devel/_static/searchtools.js
    tajo/site/docs/devel/_static/up-pressed.png
    tajo/site/docs/devel/_static/up.png
    tajo/site/docs/devel/_static/websupport.js
    tajo/site/docs/devel/backup_and_restore.html
    tajo/site/docs/devel/backup_and_restore/catalog.html
    tajo/site/docs/devel/configuration.html
    tajo/site/docs/devel/configuration/catalog-site-xml.html
    tajo/site/docs/devel/configuration/catalog_configuration.html
    tajo/site/docs/devel/configuration/cluster_setup.html
    tajo/site/docs/devel/configuration/ha_configuration.html
    tajo/site/docs/devel/configuration/preliminary.html
    tajo/site/docs/devel/configuration/service_config_defaults.html
    tajo/site/docs/devel/configuration/tajo-site-xml.html
    tajo/site/docs/devel/configuration/tajo_master_configuration.html
    tajo/site/docs/devel/configuration/worker_configuration.html
    tajo/site/docs/devel/faq.html
    tajo/site/docs/devel/functions.html
    tajo/site/docs/devel/functions/agg_func.html
    tajo/site/docs/devel/functions/data_type_func_and_operators.html
    tajo/site/docs/devel/functions/datetime_func_and_operators.html
    tajo/site/docs/devel/functions/json_func.html
    tajo/site/docs/devel/functions/math_func_and_operators.html
    tajo/site/docs/devel/functions/network_func_and_operators.html
    tajo/site/docs/devel/functions/python.html
    tajo/site/docs/devel/functions/string_func_and_operators.html
    tajo/site/docs/devel/functions/window_func.html
    tajo/site/docs/devel/genindex.html
    tajo/site/docs/devel/getting_started.html
    tajo/site/docs/devel/hbase_integration.html
    tajo/site/docs/devel/hive_integration.html
    tajo/site/docs/devel/index.html
    tajo/site/docs/devel/index/future_work.html
    tajo/site/docs/devel/index/how_to_use.html
    tajo/site/docs/devel/index/types.html
    tajo/site/docs/devel/index_overview.html
    tajo/site/docs/devel/introduction.html
    tajo/site/docs/devel/jdbc_driver.html
    tajo/site/docs/devel/objects.inv
    tajo/site/docs/devel/partitioning/column_partitioning.html
    tajo/site/docs/devel/partitioning/hash_partitioning.html
    tajo/site/docs/devel/partitioning/intro_to_partitioning.html
    tajo/site/docs/devel/partitioning/range_partitioning.html
    tajo/site/docs/devel/search.html
    tajo/site/docs/devel/searchindex.js
    tajo/site/docs/devel/sql_language.html
    tajo/site/docs/devel/sql_language/alter_table.html
    tajo/site/docs/devel/sql_language/data_model.html
    tajo/site/docs/devel/sql_language/ddl.html
    tajo/site/docs/devel/sql_language/insert.html
    tajo/site/docs/devel/sql_language/joins.html
    tajo/site/docs/devel/sql_language/predicates.html
    tajo/site/docs/devel/sql_language/queries.html
    tajo/site/docs/devel/sql_language/sql_expression.html
    tajo/site/docs/devel/swift_integration.html
    tajo/site/docs/devel/table_management.html
    tajo/site/docs/devel/table_management/compression.html
    tajo/site/docs/devel/table_management/file_formats.html
    tajo/site/docs/devel/table_management/parquet.html
    tajo/site/docs/devel/table_management/rcfile.html
    tajo/site/docs/devel/table_management/sequencefile.html
    tajo/site/docs/devel/table_management/table_overview.html
    tajo/site/docs/devel/table_management/tablespaces.html
    tajo/site/docs/devel/table_management/text.html
    tajo/site/docs/devel/table_partitioning.html
    tajo/site/docs/devel/tajo_client_api.html
    tajo/site/docs/devel/time_zone.html
    tajo/site/docs/devel/tsql.html
    tajo/site/docs/devel/tsql/admin_command.html
    tajo/site/docs/devel/tsql/background_command.html
    tajo/site/docs/devel/tsql/dfs_command.html
    tajo/site/docs/devel/tsql/execute_file.html
    tajo/site/docs/devel/tsql/intro.html
    tajo/site/docs/devel/tsql/meta_command.html
    tajo/site/docs/devel/tsql/single_command.html
    tajo/site/docs/devel/tsql/variables.html

Modified: tajo/site/docs/devel/_sources/jdbc_driver.txt
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/jdbc_driver.txt?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_sources/jdbc_driver.txt (original)
+++ tajo/site/docs/devel/_sources/jdbc_driver.txt Tue Oct  6 06:44:17 2015
@@ -42,6 +42,49 @@ In order to use the JDBC driver, you sho
   CLASSPATH=path/to/tajo-jdbc-x.y.z.jar:$CLASSPATH
 
 
+Connecting to the Tajo cluster instance
+=======================================
+A Tajo cluster is represented by a URL. Tajo JDBC driver can take the 
following URL forms:
+
+ * ``jdbc:tajo://host/``
+ * ``jdbc:tajo://host/database``
+ * ``jdbc:tajo://host:port/``
+ * ``jdbc:tajo://host:port/database``
+
+Each part of URL has the following meanings:
+
+ * ``host`` - The hostname of the TajoMaster. You can put hostname or ip 
address here.
+ * ``port`` - The port number that server is listening. Default port number is 
26002.
+ * ``database`` - The database name. The default database name is ``default``.
+
+ To connect, you need to get ``Connection`` instance from Java JDBC Driver 
Manager as follows:
+
+.. code-block:: java
+
+  Connection db = DriverManager.getConnection(url);
+
+
+Connection Parameters
+=====================
+Connection parameters lets the JDBC Copnnection to enable or disable 
additional features. You should use ``java.util.Properties`` to pass your 
connection parameters into ``Connection``. The following example means that the 
transmission of ResultSet uses compression and its connection timeout is 15 
seconds. 
+
+.. code-block:: java
+
+  String url = "jdbc:tajo://localhost/test";
+  Properties props = new Properties();
+  props.setProperty("useCompression","true");  // use compression for ResultSet
+  props.setProperty("connectTimeout","15000"); // 15 seconds
+  Connection conn = DriverManager.getConnection(url, props);
+
+The connection parameters that Tajo currently supports are as follows:
+
+ * ``useCompression = bool`` - Enable compressed transfer for ResultSet.
+ * ``defaultRowFetchSize = int`` - Determine the number of rows fetched in 
ResultSet by one fetch with trip to the Server.
+ * ``connectTimeout = int (seconds)`` - The timeout value used for socket 
connect operations. If connecting to the server takes longer than this value, 
the connection is broken. The timeout is specified in seconds and a value of 
zero means that it is disabled.
+ * ``socketTimeout = int (seconds)`` - The timeout value used for socket read 
operations. If reading from the server takes longer than this value, the 
connection is closed. This can be used as both a brute force global query 
timeout and a method of detecting network problems. The timeout is specified in 
seconds and a value of zero means that it is disabled.
+ * ``retry = int`` - Number of retry operation. Tajo JDBC driver is resilient 
against some network or connection problems. It determines how many times the 
connection will retry.
+
+
 An Example JDBC Client
 =======================
 

Modified: tajo/site/docs/devel/_sources/sql_language/alter_table.txt
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/sql_language/alter_table.txt?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_sources/sql_language/alter_table.txt (original)
+++ tajo/site/docs/devel/_sources/sql_language/alter_table.txt Tue Oct  6 
06:44:17 2015
@@ -66,34 +66,35 @@ SET PROPERTY
 This statement will allow users to change a table property.
 
 ========================
-ADD PARTITION
+ DROP PARTITION
 ========================
 
 *Synopsis*
 
 .. code-block:: sql
 
-  ALTER TABLE <table_name> [IF NOT EXISTS] ADD PARTITION (<partition column> = 
<partition value>, ...) [LOCATION = <partition's path>]
+  ALTER TABLE <table_name> [IF EXISTS] DROP PARTITION (<partition column> = 
<partition value>, ...) [PURGE]
 
   For example:
-  ALTER TABLE table1 ADD PARTITION (col1 = 1 , col2 = 2)
-  ALTER TABLE table1 ADD PARTITION (col1 = 1 , col2 = 2) LOCATION 
'hdfs://xxx.com/warehouse/table1/col1=1/col2=2'
+  ALTER TABLE table1 DROP PARTITION (col1 = 1 , col2 = 2)
+  ALTER TABLE table1 DROP PARTITION (col1 = '2015' , col2 = '01', col3 = '11' )
+  ALTER TABLE table1 DROP PARTITION (col1 = 'TAJO' ) PURGE
 
-You can use ``ALTER TABLE ADD PARTITION`` to add partitions to a table. The 
location must be a directory inside of which data files reside. If the location 
doesn't exist on the file system, Tajo will make the location by force. ``ADD 
PARTITION`` changes the table metadata, but does not load data. If the data 
does not exist in the partition's location, queries will not return any 
results. An error is thrown if the partition for the table already exists. You 
can use ``IF NOT EXISTS`` to skip the error.
+You can use ``ALTER TABLE DROP PARTITION`` to drop a partition for a table. 
This doesn't remove the data for a table. But if ``PURGE`` is specified, the 
partition data will be removed. The metadata is completely lost in all cases. 
An error is thrown if the partition for the table doesn't exist. You can use 
``IF EXISTS`` to skip the error.
 
 ========================
- DROP PARTITION
+REPAIR PARTITION
 ========================
 
+Tajo stores a list of partitions for each table in its catalog. If partitions 
are manually added to the distributed file system, the metastore is not aware 
of these partitions. Running the ``ALTER TABLE REPAIR PARTITION`` statement 
ensures that the tables are properly populated.
+
 *Synopsis*
 
 .. code-block:: sql
 
-  ALTER TABLE <table_name> [IF EXISTS] DROP PARTITION (<partition column> = 
<partition value>, ...) [PURGE]
+  ALTER TABLE <table_name> REPAIR PARTITION
 
-  For example:
-  ALTER TABLE table1 DROP PARTITION (col1 = 1 , col2 = 2)
-  ALTER TABLE table1 DROP PARTITION (col1 = '2015' , col2 = '01', col3 = '11' )
-  ALTER TABLE table1 DROP PARTITION (col1 = 'TAJO' ) PURGE
+.. note::
+
+  Even though an information of a partition is stored in the catalog, Tajo 
does not recover it when its partition directory doesn't exist in the file 
system.
 
-You can use ``ALTER TABLE DROP PARTITION`` to drop a partition for a table. 
This removes the data for a managed table and this doesn't remove the data for 
an external table. But if ``PURGE`` is specified for an external table, the 
partition data will be removed. The metadata is completely lost in all cases. 
An error is thrown if the partition for the table doesn't exists. You can use 
``IF EXISTS`` to skip the error.

Modified: tajo/site/docs/devel/_sources/sql_language/ddl.txt
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/sql_language/ddl.txt?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_sources/sql_language/ddl.txt (original)
+++ tajo/site/docs/devel/_sources/sql_language/ddl.txt Tue Oct  6 06:44:17 2015
@@ -37,17 +37,19 @@ CREATE TABLE
 
 .. code-block:: sql
 
-  CREATE TABLE [IF NOT EXISTS] <table_name> [(<column_name> <data_type>, ... 
)] [TABLESPACE tablespace_name]
+  CREATE TABLE [IF NOT EXISTS] <table_name> [(column_list)] [TABLESPACE 
tablespace_name]
   [using <storage_type> [with (<key> = <value>, ...)]] [AS <select_statement>]
 
-  CREATE EXTERNAL TABLE [IF NOT EXISTS] <table_name> (<column_name> 
<data_type>, ... )
+  CREATE EXTERNAL TABLE [IF NOT EXISTS] <table_name> (column_list)
   using <storage_type> [with (<key> = <value>, ...)] LOCATION '<path>'
 
 *Description*
 
-In Tajo, there are two types of tables, `managed table` and `external table` 
(For more information, please refer to :doc:`/table_management/table_overview`.)
+In Tajo, there are two types of tables, `managed table` and `external table`.
+Managed tables are placed on some predefined tablespaces. The ``TABLESPACE`` 
clause is to specify a tablespace for this table. For external tables, Tajo 
allows an arbitrary table location with the ``LOCATION`` clause.
+For more information about tables and tablespace, please refer to 
:doc:`/table_management/table_overview` and 
:doc:`/table_management/tablespaces`.
 
-Managed tables are placed on some predefined tablespaces. The ``TABLESPACE`` 
clause is to specify a tablespace for this table. For more information about 
tablespace, please refer to :doc:`/table_management/tablespaces`. For external 
tables, Tajo allows an arbitrary table location with the ``LOCATION`` clause.
+``column_list`` is a sequence of the column name and its type like 
``<column_name> <data_type>, ...``. Additionally, the `asterisk (*)` is allowed 
for external tables when their data format is `JSON`. You can find more details 
at :doc:`/table_management/json`.
 
 ``IF NOT EXISTS`` allows ``CREATE [EXTERNAL] TABLE`` statement to avoid an 
error which occurs when the table does not exist.
 
@@ -65,7 +67,7 @@ If you want to add an external table tha
   ...
   L_COMMENT text) 
 
-  USING TEXT WITH 
('text.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec')
+  USING TEXT WITH 
('text.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.SnappyCodec')
   LOCATION 'hdfs://localhost:9010/tajo/warehouse/lineitem_100_snappy';
 
 `compression.codec` parameter can have one of the following compression codecs:

Modified: tajo/site/docs/devel/_sources/table_management/file_formats.txt
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/table_management/file_formats.txt?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_sources/table_management/file_formats.txt (original)
+++ tajo/site/docs/devel/_sources/table_management/file_formats.txt Tue Oct  6 
06:44:17 2015
@@ -2,12 +2,13 @@
 File Formats
 *************************************
 
-Currently, Tajo provides four file formats as follows:
+Currently, Tajo provides following file formats:
 
 .. toctree::
     :maxdepth: 1
 
     text
+    json
     rcfile
     parquet
     orc

Modified: tajo/site/docs/devel/_sources/table_management/tablespaces.txt
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/table_management/tablespaces.txt?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_sources/table_management/tablespaces.txt (original)
+++ tajo/site/docs/devel/_sources/table_management/tablespaces.txt Tue Oct  6 
06:44:17 2015
@@ -42,4 +42,4 @@ The following is an example for two tabl
 
 .. note::
 
-  Also, each tablespace can use different storage type. Please see 
:doc:`/storage_plugin` if you want to know more information about it.
\ No newline at end of file
+  Also, each tablespace can use different storage type. Please see 
:doc:`/storage_plugins` if you want to know more information about it.
\ No newline at end of file

Modified: tajo/site/docs/devel/_sources/table_management/text.txt
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_sources/table_management/text.txt?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_sources/table_management/text.txt (original)
+++ tajo/site/docs/devel/_sources/table_management/text.txt Tue Oct  6 06:44:17 
2015
@@ -2,8 +2,8 @@
 TEXT
 ****
 
-A character-separated values plain-text file represents a tabular data set 
consisting of rows and columns.
-Each row is a plan-text line. A line is usually broken by a character line 
feed ``\n`` or carriage-return ``\r``.
+A character-separated values plain text file represents a tabular data set 
consisting of rows and columns.
+Each row is a plain text line. A line is usually broken by a character line 
feed ``\n`` or carriage-return ``\r``.
 The line feed ``\n`` is the default delimiter in Tajo. Each record consists of 
multiple fields, separated by
 some other character or string, most commonly a literal vertical bar ``|``, 
comma ``,`` or tab ``\t``.
 The vertical bar is used as the default field delimiter in Tajo.
@@ -72,8 +72,8 @@ Custom (De)serializer
 =====================
 
 The *TEXT* format not only provides reading and writing interfaces for text 
data but also allows users to process custom
-plan-text file formats with user-defined (De)serializer classes.
-For example, with custom (de)serializers, Tajo can process JSON file formats 
or any specialized plan-text file formats.
+plain text file formats with user-defined (De)serializer classes.
+With custom (de)serializers, Tajo can process any text files no matter which 
the internal structure is.
 
 In order to specify a custom (De)serializer, set a physical property 
``text.serde``.
 The property value should be a fully qualified class name.

Modified: tajo/site/docs/devel/_static/basic.css
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/basic.css?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_static/basic.css (original)
+++ tajo/site/docs/devel/_static/basic.css Tue Oct  6 06:44:17 2015
@@ -4,7 +4,7 @@
  *
  * Sphinx stylesheet -- basic theme.
  *
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -197,7 +197,10 @@ h3:hover > a.headerlink,
 h4:hover > a.headerlink,
 h5:hover > a.headerlink,
 h6:hover > a.headerlink,
-dt:hover > a.headerlink {
+dt:hover > a.headerlink,
+caption:hover > a.headerlink,
+p.caption:hover > a.headerlink,
+div.code-block-caption:hover > a.headerlink {
     visibility: visible;
 }
 
@@ -314,6 +317,13 @@ table.docutils {
     border-collapse: collapse;
 }
 
+table caption span.caption-number {
+    font-style: italic;
+}
+
+table caption span.caption-text {
+}
+
 table.docutils td, table.docutils th {
     padding: 1px 8px 1px 5px;
     border-top: 0;
@@ -344,6 +354,25 @@ table.citation td {
     border-bottom: none;
 }
 
+/* -- figures --------------------------------------------------------------- 
*/
+
+div.figure {
+    margin: 0.5em;
+    padding: 0.5em;
+}
+
+div.figure p.caption {
+    padding: 0.3em;
+}
+
+div.figure p.caption span.caption-number {
+    font-style: italic;
+}
+
+div.figure p.caption span.caption-text {
+}
+
+
 /* -- other body styles ----------------------------------------------------- 
*/
 
 ol.arabic {
@@ -406,6 +435,10 @@ dl.glossary dt {
     font-size: 1.3em;
 }
 
+.sig-paren {
+    font-size: larger;
+}
+
 .versionmodified {
     font-style: italic;
 }
@@ -471,22 +504,51 @@ table.highlighttable td {
     padding: 0 0.5em 0 0.5em;
 }
 
-tt.descname {
+div.code-block-caption {
+    padding: 2px 5px;
+    font-size: small;
+}
+
+div.code-block-caption code {
+    background-color: transparent;
+}
+
+div.code-block-caption + div > div.highlight > pre {
+    margin-top: 0;
+}
+
+div.code-block-caption span.caption-number {
+    padding: 0.1em 0.3em;
+    font-style: italic;
+}
+
+div.code-block-caption span.caption-text {
+}
+
+div.literal-block-wrapper {
+    padding: 1em 1em 0;
+}
+
+div.literal-block-wrapper div.highlight {
+    margin: 0;
+}
+
+code.descname {
     background-color: transparent;
     font-weight: bold;
     font-size: 1.2em;
 }
 
-tt.descclassname {
+code.descclassname {
     background-color: transparent;
 }
 
-tt.xref, a tt {
+code.xref, a code {
     background-color: transparent;
     font-weight: bold;
 }
 
-h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
+h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
     background-color: transparent;
 }
 

Modified: tajo/site/docs/devel/_static/doctools.js
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/doctools.js?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_static/doctools.js (original)
+++ tajo/site/docs/devel/_static/doctools.js Tue Oct  6 06:44:17 2015
@@ -4,7 +4,7 @@
  *
  * Sphinx JavaScript utilities for all documentation.
  *
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -91,6 +91,30 @@ jQuery.fn.highlightText = function(text,
   });
 };
 
+/*
+ * backward compatibility for jQuery.browser
+ * This will be supported until firefox bug is fixed.
+ */
+if (!jQuery.browser) {
+  jQuery.uaMatch = function(ua) {
+    ua = ua.toLowerCase();
+
+    var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
+      /(webkit)[ \/]([\w.]+)/.exec(ua) ||
+      /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
+      /(msie) ([\w.]+)/.exec(ua) ||
+      ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) 
||
+      [];
+
+    return {
+      browser: match[ 1 ] || "",
+      version: match[ 2 ] || "0"
+    };
+  };
+  jQuery.browser = {};
+  jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
+}
+
 /**
  * Small JavaScript module for the documentation.
  */
@@ -152,9 +176,10 @@ var Documentation = {
 
   /**
    * workaround a firefox stupidity
+   * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
    */
   fixFirefoxAnchorBug : function() {
-    if (document.location.hash && $.browser.mozilla)
+    if (document.location.hash)
       window.setTimeout(function() {
         document.location.href += '';
       }, 10);

Modified: tajo/site/docs/devel/_static/down-pressed.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/down-pressed.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/down.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/down.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/file.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/file.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/jquery.js
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/jquery.js?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_static/jquery.js (original)
+++ tajo/site/docs/devel/_static/jquery.js Tue Oct  6 06:44:17 2015
@@ -1,2 +1,4 @@
-/*! jQuery v1.8.3 jquery.com | jquery.org/license */

[... 7 lines stripped ...]
Modified: tajo/site/docs/devel/_static/minus.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/minus.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/plus.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/plus.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/searchtools.js
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/searchtools.js?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_static/searchtools.js (original)
+++ tajo/site/docs/devel/_static/searchtools.js Tue Oct  6 06:44:17 2015
@@ -4,7 +4,7 @@
  *
  * Sphinx JavaScript utilties for the full-text search.
  *
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -439,7 +439,7 @@ var Search = {
                   dataType: "text",
                   complete: function(jqxhr, textstatus) {
                     var data = jqxhr.responseText;
-                    if (data !== '') {
+                    if (data !== '' && data !== undefined) {
                       listItem.append(Search.makeSearchSummary(data, 
searchterms, hlterms));
                     }
                     Search.output.append(listItem);

Modified: tajo/site/docs/devel/_static/up-pressed.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/up-pressed.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/up.png
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/up.png?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
Binary files - no diff available.

Modified: tajo/site/docs/devel/_static/websupport.js
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/_static/websupport.js?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/_static/websupport.js (original)
+++ tajo/site/docs/devel/_static/websupport.js Tue Oct  6 06:44:17 2015
@@ -4,7 +4,7 @@
  *
  * sphinx.websupport utilties for all documentation.
  *
- * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -50,51 +50,51 @@
   }
 
   function initEvents() {
-    $('a.comment-close').live("click", function(event) {
+    $(document).on("click", 'a.comment-close', function(event) {
       event.preventDefault();
       hide($(this).attr('id').substring(2));
     });
-    $('a.vote').live("click", function(event) {
+    $(document).on("click", 'a.vote', function(event) {
       event.preventDefault();
       handleVote($(this));
     });
-    $('a.reply').live("click", function(event) {
+    $(document).on("click", 'a.reply', function(event) {
       event.preventDefault();
       openReply($(this).attr('id').substring(2));
     });
-    $('a.close-reply').live("click", function(event) {
+    $(document).on("click", 'a.close-reply', function(event) {
       event.preventDefault();
       closeReply($(this).attr('id').substring(2));
     });
-    $('a.sort-option').live("click", function(event) {
+    $(document).on("click", 'a.sort-option', function(event) {
       event.preventDefault();
       handleReSort($(this));
     });
-    $('a.show-proposal').live("click", function(event) {
+    $(document).on("click", 'a.show-proposal', function(event) {
       event.preventDefault();
       showProposal($(this).attr('id').substring(2));
     });
-    $('a.hide-proposal').live("click", function(event) {
+    $(document).on("click", 'a.hide-proposal', function(event) {
       event.preventDefault();
       hideProposal($(this).attr('id').substring(2));
     });
-    $('a.show-propose-change').live("click", function(event) {
+    $(document).on("click", 'a.show-propose-change', function(event) {
       event.preventDefault();
       showProposeChange($(this).attr('id').substring(2));
     });
-    $('a.hide-propose-change').live("click", function(event) {
+    $(document).on("click", 'a.hide-propose-change', function(event) {
       event.preventDefault();
       hideProposeChange($(this).attr('id').substring(2));
     });
-    $('a.accept-comment').live("click", function(event) {
+    $(document).on("click", 'a.accept-comment', function(event) {
       event.preventDefault();
       acceptComment($(this).attr('id').substring(2));
     });
-    $('a.delete-comment').live("click", function(event) {
+    $(document).on("click", 'a.delete-comment', function(event) {
       event.preventDefault();
       deleteComment($(this).attr('id').substring(2));
     });
-    $('a.comment-markup').live("click", function(event) {
+    $(document).on("click", 'a.comment-markup', function(event) {
       event.preventDefault();
       toggleCommentMarkupBox($(this).attr('id').substring(2));
     });
@@ -700,8 +700,8 @@
         (<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\
       <div class="comment-markup-box" id="mb<%id%>">\
         reStructured text markup: <i>*emph*</i>, <b>**strong**</b>, \
-        <tt>``code``</tt>, \
-        code blocks: <tt>::</tt> and an indented block after blank line</div>\
+        <code>``code``</code>, \
+        code blocks: <code>::</code> and an indented block after blank 
line</div>\
       <form method="post" id="cf<%id%>" class="comment-form" action="">\
         <textarea name="comment" cols="80"></textarea>\
         <p class="propose-button">\

Modified: tajo/site/docs/devel/backup_and_restore.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/backup_and_restore.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/backup_and_restore.html (original)
+++ tajo/site/docs/devel/backup_and_restore.html Tue Oct  6 06:44:17 2015
@@ -163,6 +163,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting to 
the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/backup_and_restore/catalog.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/backup_and_restore/catalog.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/backup_and_restore/catalog.html (original)
+++ tajo/site/docs/devel/backup_and_restore/catalog.html Tue Oct  6 06:44:17 
2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/configuration.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration.html (original)
+++ tajo/site/docs/devel/configuration.html Tue Oct  6 06:44:17 2015
@@ -163,6 +163,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting to 
the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/configuration/catalog-site-xml.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/catalog-site-xml.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/catalog-site-xml.html (original)
+++ tajo/site/docs/devel/configuration/catalog-site-xml.html Tue Oct  6 
06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/configuration/catalog_configuration.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/catalog_configuration.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/catalog_configuration.html (original)
+++ tajo/site/docs/devel/configuration/catalog_configuration.html Tue Oct  6 
06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -207,7 +209,7 @@
             
   <div class="section" id="catalog-configuration">
 <h1>Catalog Configuration<a class="headerlink" href="#catalog-configuration" 
title="Permalink to this headline">¶</a></h1>
-<p>If you want to customize the catalog service, copy <tt class="docutils 
literal"><span 
class="pre">$TAJO_HOME/conf/catalog-site.xml.template</span></tt> to <tt 
class="docutils literal"><span class="pre">catalog-site.xml</span></tt>. Then, 
add the following configs to catalog-site.xml. Note that the default configs 
are enough to launch Tajo cluster in most cases.</p>
+<p>If you want to customize the catalog service, copy <code class="docutils 
literal"><span 
class="pre">$TAJO_HOME/conf/catalog-site.xml.template</span></code> to <code 
class="docutils literal"><span class="pre">catalog-site.xml</span></code>. 
Then, add the following configs to catalog-site.xml. Note that the default 
configs are enough to launch Tajo cluster in most cases.</p>
 <ul class="simple">
 <li>tajo.catalog.master.addr - If you want to launch a Tajo cluster in 
distributed mode, you must specify this address. For more detail information, 
see [Default Ports](#DefaultPorts).</li>
 <li>tajo.catalog.store.class - If you want to change the persistent storage of 
the catalog server, specify the class name. Its default value is 
tajo.catalog.store.DerbyStore. In the current version, Tajo provides three 
persistent storage classes as follows:</li>
@@ -245,7 +247,7 @@ tests.</td>
 <div class="section" id="derby-configuration">
 <h2>Derby Configuration<a class="headerlink" href="#derby-configuration" 
title="Permalink to this headline">¶</a></h2>
 <p>By default, Tajo uses <a class="reference external" 
href="http://db.apache.org/derby/";>Apache Derby</a> as a persistent storage in 
order to manage table meta data. So, without any configuration, you can use 
Derby for catalog store.</p>
-<p>Also, you can set manually configs in <tt class="docutils literal"><span 
class="pre">conf/catalog-site.xml</span></tt> as follows:</p>
+<p>Also, you can set manually configs in <code class="docutils literal"><span 
class="pre">conf/catalog-site.xml</span></code> as follows:</p>
 <div class="highlight-xml"><div class="highlight"><pre>&lt;property&gt;
   &lt;name&gt;tajo.catalog.store.class&lt;/name&gt;
   &lt;value&gt;org.apache.tajo.catalog.store.DerbyStore&lt;/value&gt;
@@ -266,7 +268,7 @@ tests.</td>
 </div>
 <div class="admonition warning">
 <p class="first admonition-title">Warning</p>
-<p class="last">By default, <em>Catalog server</em> stores catalog data into 
<tt class="docutils literal"><span 
class="pre">/tmp/tajo-catalog-${username}</span></tt> directory. But, some 
operating systems may remove all contents in <tt class="docutils literal"><span 
class="pre">/tmp</span></tt> when booting up. In order to ensure persistent 
store of your catalog data, you need to set a proper location of derby 
directory.</p>
+<p class="last">By default, <em>Catalog server</em> stores catalog data into 
<code class="docutils literal"><span 
class="pre">/tmp/tajo-catalog-${username}</span></code> directory. But, some 
operating systems may remove all contents in <code class="docutils 
literal"><span class="pre">/tmp</span></code> when booting up. In order to 
ensure persistent store of your catalog data, you need to set a proper location 
of derby directory.</p>
 </div>
 </div>
 <div class="section" id="mysql-mariadb-postgresql-oracle-configuration">
@@ -284,7 +286,7 @@ mysql&gt; grant all on tajo.* to <span c
 Query OK, <span class="m">0</span> rows affected <span class="o">(</span>0.01 
sec<span class="o">)</span>
 </pre></div>
 </div>
-<p>Second, you must install the proper JDBC driver on the TajoMaster node. And 
then, you need to set the <tt class="docutils literal"><span 
class="pre">TAJO_CLASSPATH</span></tt> variable in <tt class="docutils 
literal"><span class="pre">conf/tajo-env.sh</span></tt> as follows:</p>
+<p>Second, you must install the proper JDBC driver on the TajoMaster node. And 
then, you need to set the <code class="docutils literal"><span 
class="pre">TAJO_CLASSPATH</span></code> variable in <code class="docutils 
literal"><span class="pre">conf/tajo-env.sh</span></code> as follows:</p>
 <div class="highlight-sh"><div class="highlight"><pre><span 
class="o">(</span>MySQL<span class="o">)</span>
 <span class="nv">$ </span><span class="nb">export </span><span 
class="nv">TAJO_CLASSPATH</span><span 
class="o">=</span>/usr/local/mysql/lib/mysql-connector-java-x.x.x.jar
 
@@ -298,7 +300,7 @@ Query OK, <span class="m">0</span> rows
 <span class="nv">$ </span><span class="nb">export </span><span 
class="nv">TAJO_CLASSPATH</span><span 
class="o">=</span>/path/to/oracle/driver/ojdbc7.jar
 </pre></div>
 </div>
-<p>Alternatively, you can copy the jdbc driver into <tt class="docutils 
literal"><span class="pre">$TAJO_HOME/lib</span></tt>.</p>
+<p>Alternatively, you can copy the jdbc driver into <code class="docutils 
literal"><span class="pre">$TAJO_HOME/lib</span></code>.</p>
 <p>Finally, you must add the following configurations to 
<cite>conf/catalog-site.xml</cite> :</p>
 <div class="highlight-xml"><div class="highlight"><pre>&lt;property&gt;
   &lt;name&gt;tajo.catalog.connection.id&lt;/name&gt;
@@ -360,15 +362,15 @@ Query OK, <span class="m">0</span> rows
 <span class="nv">$ </span>ls tajo-dist/target/tajo-x.y.z-SNAPSHOT.tar.gz
 </pre></div>
 </div>
-<p>Second, you must set your hive home directory to HIVE_HOME variable in <tt 
class="docutils literal"><span class="pre">conf/tajo-env.sh</span></tt> with it 
as follows:</p>
+<p>Second, you must set your hive home directory to HIVE_HOME variable in 
<code class="docutils literal"><span class="pre">conf/tajo-env.sh</span></code> 
with it as follows:</p>
 <div class="highlight-sh"><div class="highlight"><pre><span class="nb">export 
</span><span class="nv">HIVE_HOME</span><span 
class="o">=</span>/path/to/your/hive/directory
 </pre></div>
 </div>
-<p>Third, if you need to use jdbc to connect HiveMetaStore, you have to 
prepare mysql jdbc driver on host which can be ran TajoMaster. If you prepare 
it, you should set jdbc driver file path to <tt class="docutils literal"><span 
class="pre">HIVE_JDBC_DRIVER_DIR</span></tt> variable in conf/tajo-env.sh with 
it as follows:</p>
+<p>Third, if you need to use jdbc to connect HiveMetaStore, you have to 
prepare mysql jdbc driver on host which can be ran TajoMaster. If you prepare 
it, you should set jdbc driver file path to <code class="docutils 
literal"><span class="pre">HIVE_JDBC_DRIVER_DIR</span></code> variable in 
conf/tajo-env.sh with it as follows:</p>
 <div class="highlight-sh"><div class="highlight"><pre><span class="nb">export 
</span><span class="nv">HIVE_JDBC_DRIVER_DIR</span><span 
class="o">=</span>/path/to/your/mysql_jdbc_driver/mysql-connector-java-x.x.x-bin.jar
 </pre></div>
 </div>
-<p>Lastly, you should add the following config to <tt class="docutils 
literal"><span class="pre">conf/catalog-site.xml</span></tt> :</p>
+<p>Lastly, you should add the following config to <code class="docutils 
literal"><span class="pre">conf/catalog-site.xml</span></code> :</p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.catalog.store.class<span 
class="nt">&lt;/name&gt;</span>
   <span 
class="nt">&lt;value&gt;</span>org.apache.tajo.catalog.store.HiveCatalogStore<span
 class="nt">&lt;/value&gt;</span>

Modified: tajo/site/docs/devel/configuration/cluster_setup.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/cluster_setup.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/cluster_setup.html (original)
+++ tajo/site/docs/devel/configuration/cluster_setup.html Tue Oct  6 06:44:17 
2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -243,8 +245,8 @@
 </div>
 <div class="section" id="workers">
 <h3>Workers<a class="headerlink" href="#workers" title="Permalink to this 
headline">¶</a></h3>
-<p>The file <tt class="docutils literal"><span 
class="pre">conf/workers</span></tt> lists all host names of workers, one per 
line.
-By default, this file contains the single entry <tt class="docutils 
literal"><span class="pre">localhost</span></tt>.
+<p>The file <code class="docutils literal"><span 
class="pre">conf/workers</span></code> lists all host names of workers, one per 
line.
+By default, this file contains the single entry <code class="docutils 
literal"><span class="pre">localhost</span></code>.
 You can easily add host names of workers via your favorite text editor.</p>
 <p>For example:</p>
 <div class="highlight-python"><div class="highlight"><pre>$ cat &gt; 
conf/workers
@@ -267,7 +269,7 @@ $ $HADOOP_HOME/bin/hadoop fs -chmod g+w
 </div>
 <div class="section" id="launch-a-tajo-cluster">
 <h3>Launch a Tajo cluster<a class="headerlink" href="#launch-a-tajo-cluster" 
title="Permalink to this headline">¶</a></h3>
-<p>Then, execute <tt class="docutils literal"><span 
class="pre">start-tajo.sh</span></tt></p>
+<p>Then, execute <code class="docutils literal"><span 
class="pre">start-tajo.sh</span></code></p>
 <div class="highlight-python"><div class="highlight"><pre>$ 
$TAJO_HOME/bin/start-tajo.sh
 </pre></div>
 </div>

Modified: tajo/site/docs/devel/configuration/ha_configuration.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/ha_configuration.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/ha_configuration.html (original)
+++ tajo/site/docs/devel/configuration/ha_configuration.html Tue Oct  6 
06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -222,14 +224,14 @@
 </div>
 <div class="section" id="configuration-file-settings">
 <h2>Configuration File Settings<a class="headerlink" 
href="#configuration-file-settings" title="Permalink to this 
headline">¶</a></h2>
-<p>If you want to use TajoMaster HA mode, specific your <tt class="docutils 
literal"><span class="pre">tajo.master.ha.enable</span></tt> as follows:</p>
+<p>If you want to use TajoMaster HA mode, specific your <code class="docutils 
literal"><span class="pre">tajo.master.ha.enable</span></code> as follows:</p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.master.ha.enable<span 
class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>true<span 
class="nt">&lt;/value&gt;</span>
 <span class="nt">&lt;/property&gt;</span>
 </pre></div>
 </div>
-<p>If you use HA mode, all back masters monitor the active master at 5 second 
intervals. If you update this period, specific your <tt class="docutils 
literal"><span class="pre">tajo.master.ha.monitor.interval</span></tt> as 
follows:</p>
+<p>If you use HA mode, all back masters monitor the active master at 5 second 
intervals. If you update this period, specific your <code class="docutils 
literal"><span class="pre">tajo.master.ha.monitor.interval</span></code> as 
follows:</p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.master.ha.monitor.interval<span 
class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>monitor interval<span 
class="nt">&lt;/value&gt;</span>
@@ -239,7 +241,7 @@
 </div>
 <div class="section" id="backup-master-settings">
 <h2>Backup Master Settings<a class="headerlink" href="#backup-master-settings" 
title="Permalink to this headline">¶</a></h2>
-<p>If you want to run masters with <tt class="docutils literal"><span 
class="pre">start-tajo.sh</span></tt>, specific your masters in <tt 
class="docutils literal"><span class="pre">conf/masters</span></tt>. The file 
lists all host names of masters, one per line.By default, this file contains 
the single entry <tt class="docutils literal"><span 
class="pre">localhost</span></tt>. You can easily add host names of workers via 
your favorite text editor.</p>
+<p>If you want to run masters with <code class="docutils literal"><span 
class="pre">start-tajo.sh</span></code>, specific your masters in <code 
class="docutils literal"><span class="pre">conf/masters</span></code>. The file 
lists all host names of masters, one per line.By default, this file contains 
the single entry <code class="docutils literal"><span 
class="pre">localhost</span></code>. You can easily add host names of workers 
via your favorite text editor.</p>
 <p>For example:</p>
 <div class="highlight-python"><div class="highlight"><pre>$ cat &gt; 
conf/masters
 host1.domain.com
@@ -252,7 +254,7 @@ host2.domain.com
 <p>And then, you need to setup tarball and set configuration files on backup 
masters.</p>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
-<p>If you want to run active master and backup master on the same host, you 
may find TajoMaster port conflicts. To avoid this problem, you must convert 
backup master primary ports to another port in <tt class="docutils 
literal"><span class="pre">tajo-site.xml</span></tt> as follows:</p>
+<p>If you want to run active master and backup master on the same host, you 
may find TajoMaster port conflicts. To avoid this problem, you must convert 
backup master primary ports to another port in <code class="docutils 
literal"><span class="pre">tajo-site.xml</span></code> as follows:</p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.master.umbilical-rpc.address<span 
class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>localhost:36001<span 
class="nt">&lt;/value&gt;</span>
@@ -284,12 +286,12 @@ host2.domain.com
 <span class="nt">&lt;/property&gt;</span>
 </pre></div>
 </div>
-<p class="last">And you need to convert <tt class="docutils literal"><span 
class="pre">TAJO_PID_DIR</span></tt> to another directory in <tt 
class="docutils literal"><span class="pre">tajo-env.sh</span></tt>.</p>
+<p class="last">And you need to convert <code class="docutils literal"><span 
class="pre">TAJO_PID_DIR</span></code> to another directory in <code 
class="docutils literal"><span class="pre">tajo-env.sh</span></code>.</p>
 </div>
 </div>
 <div class="section" id="launch-a-tajo-cluster">
 <h2>Launch a Tajo cluster<a class="headerlink" href="#launch-a-tajo-cluster" 
title="Permalink to this headline">¶</a></h2>
-<p>Then, execute <tt class="docutils literal"><span 
class="pre">start-tajo.sh</span></tt></p>
+<p>Then, execute <code class="docutils literal"><span 
class="pre">start-tajo.sh</span></code></p>
 <div class="highlight-python"><div class="highlight"><pre>$ 
$TAJO_HOME/bin/start-tajo.sh
 </pre></div>
 </div>
@@ -300,19 +302,19 @@ host2.domain.com
 </div>
 <div class="section" id="administration-ha-state">
 <h2>Administration HA state<a class="headerlink" 
href="#administration-ha-state" title="Permalink to this headline">¶</a></h2>
-<p>If you want to transit any backup master to active master, execute <tt 
class="docutils literal"><span class="pre">tajo</span> <span 
class="pre">hadmin</span> <span class="pre">-transitionToActive</span></tt></p>
+<p>If you want to transit any backup master to active master, execute <code 
class="docutils literal"><span class="pre">tajo</span> <span 
class="pre">hadmin</span> <span 
class="pre">-transitionToActive</span></code></p>
 <div class="highlight-python"><div class="highlight"><pre>$ 
$TAJO_HOME/bin/tajo haadmin -transitionToActive &lt;target 
tajo.master.umbilical-rpc.address&gt;
 </pre></div>
 </div>
-<p>If you want to transit any active master to backup master, execute <tt 
class="docutils literal"><span class="pre">tajo</span> <span 
class="pre">hadmin</span> <span class="pre">-transitionToBackup</span></tt></p>
+<p>If you want to transit any active master to backup master, execute <code 
class="docutils literal"><span class="pre">tajo</span> <span 
class="pre">hadmin</span> <span 
class="pre">-transitionToBackup</span></code></p>
 <div class="highlight-python"><div class="highlight"><pre>$ 
$TAJO_HOME/bin/tajo haadmin -transitionToBackup &lt;target 
tajo.master.umbilical-rpc.address&gt;
 </pre></div>
 </div>
-<p>If you want to find the state of any master, execute <tt class="docutils 
literal"><span class="pre">tajo</span> <span class="pre">hadmin</span> <span 
class="pre">-getState</span></tt></p>
+<p>If you want to find the state of any master, execute <code class="docutils 
literal"><span class="pre">tajo</span> <span class="pre">hadmin</span> <span 
class="pre">-getState</span></code></p>
 <div class="highlight-python"><div class="highlight"><pre>$ 
$TAJO_HOME/bin/tajo haadmin -getState &lt;target 
tajo.master.umbilical-rpc.address&gt;
 </pre></div>
 </div>
-<p>If you want to initiate HA information, execute <tt class="docutils 
literal"><span class="pre">tajo</span> <span class="pre">haadmin</span> <span 
class="pre">-formatHA</span></tt></p>
+<p>If you want to initiate HA information, execute <code class="docutils 
literal"><span class="pre">tajo</span> <span class="pre">haadmin</span> <span 
class="pre">-formatHA</span></code></p>
 <div class="highlight-python"><div class="highlight"><pre>$ 
$TAJO_HOME/bin/tajo haadmin -formatHA
 </pre></div>
 </div>
@@ -324,7 +326,7 @@ host2.domain.com
 <div class="section" id="how-to-test-automatic-failover">
 <h2>How to Test Automatic Failover<a class="headerlink" 
href="#how-to-test-automatic-failover" title="Permalink to this 
headline">¶</a></h2>
 <p>If you want to verify automatic failover of TajoMaster, you must deploy 
your Tajo cluster with TajoMaster HA enable. And then, you need to find which 
node is active from Tajo web UI.</p>
-<p>Once you find your active TajoMaster, you can cause a failure on that node. 
For example, you can use kill -9 &lt;pid of TajoMaster&gt; to simulate a JVM 
crash. Or you can shutdown the machine or disconnect network interface. And 
then, the backup TajoMaster will be automatically active within 5 seconds. The 
amount of time required to detect a failure and  trigger a failover depends on 
the config <tt class="docutils literal"><span 
class="pre">tajo.master.ha.monitor.interval</span></tt>. If there is running 
queries, it will be finished successfully. Because your TajoClient will get the 
result data on TajoWorker. But you can&#8217;t find already query history. 
Because TajoMaster stores query history on memory. So, the other master 
can&#8217;t access already active master query history. And if there is no 
running query, the automatic failover run successfully.</p>
+<p>Once you find your active TajoMaster, you can cause a failure on that node. 
For example, you can use kill -9 &lt;pid of TajoMaster&gt; to simulate a JVM 
crash. Or you can shutdown the machine or disconnect network interface. And 
then, the backup TajoMaster will be automatically active within 5 seconds. The 
amount of time required to detect a failure and  trigger a failover depends on 
the config <code class="docutils literal"><span 
class="pre">tajo.master.ha.monitor.interval</span></code>. If there is running 
queries, it will be finished successfully. Because your TajoClient will get the 
result data on TajoWorker. But you can&#8217;t find already query history. 
Because TajoMaster stores query history on memory. So, the other master 
can&#8217;t access already active master query history. And if there is no 
running query, the automatic failover run successfully.</p>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
 <p class="last">TajoMaster HA does not consider TajoWorker failure. It 
guarantees the high availability of both TajoResourceManager and 
QueryMaster.</p>

Modified: tajo/site/docs/devel/configuration/preliminary.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/preliminary.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/preliminary.html (original)
+++ tajo/site/docs/devel/configuration/preliminary.html Tue Oct  6 06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -214,7 +216,7 @@
 <li>catalog-site.xml - configuration for the catalog server.</li>
 <li>tajo-site.xml - configuration for other tajo modules.</li>
 </ul>
-<p>Each config consists of a pair of a name and a value. If you want to set 
the config name <tt class="docutils literal"><span 
class="pre">a.b.c</span></tt> with the value <tt class="docutils literal"><span 
class="pre">123</span></tt>, add the following element to an appropriate 
file.</p>
+<p>Each config consists of a pair of a name and a value. If you want to set 
the config name <code class="docutils literal"><span 
class="pre">a.b.c</span></code> with the value <code class="docutils 
literal"><span class="pre">123</span></code>, add the following element to an 
appropriate file.</p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>a.b.c<span 
class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>123<span 
class="nt">&lt;/value&gt;</span>
@@ -222,7 +224,7 @@
 </pre></div>
 </div>
 <p>Tajo has a variety of internal configs. If you don&#8217;t set some config 
explicitly, the default config will be used for for that config. Tajo is 
designed to use only a few of configs in usual cases. You may not be concerned 
with the configuration.</p>
-<p>In default, there is no <tt class="docutils literal"><span 
class="pre">tajo-site.xml</span></tt> in <tt class="docutils literal"><span 
class="pre">${TAJO}/conf</span></tt> directory. If you set some configs, first 
copy <tt class="docutils literal"><span 
class="pre">$TAJO_HOME/conf/tajo-site.xml.templete</span></tt> to <tt 
class="docutils literal"><span class="pre">tajo-site.xml</span></tt>. Then, add 
the configs to your tajo-site.</p>
+<p>In default, there is no <code class="docutils literal"><span 
class="pre">tajo-site.xml</span></code> in <code class="docutils literal"><span 
class="pre">${TAJO}/conf</span></code> directory. If you set some configs, 
first copy <code class="docutils literal"><span 
class="pre">$TAJO_HOME/conf/tajo-site.xml.templete</span></code> to <code 
class="docutils literal"><span class="pre">tajo-site.xml</span></code>. Then, 
add the configs to your tajo-site.</p>
 </div>
 <div class="section" id="tajo-env-sh">
 <h2>tajo-env.sh<a class="headerlink" href="#tajo-env-sh" title="Permalink to 
this headline">¶</a></h2>

Modified: tajo/site/docs/devel/configuration/service_config_defaults.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/service_config_defaults.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/service_config_defaults.html (original)
+++ tajo/site/docs/devel/configuration/service_config_defaults.html Tue Oct  6 
06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/configuration/tajo-site-xml.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/tajo-site-xml.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/tajo-site-xml.html (original)
+++ tajo/site/docs/devel/configuration/tajo-site-xml.html Tue Oct  6 06:44:17 
2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -207,7 +209,7 @@
             
   <div class="section" id="the-tajo-site-xml-file">
 <h1>The tajo-site.xml File<a class="headerlink" href="#the-tajo-site-xml-file" 
title="Permalink to this headline">¶</a></h1>
-<p>To the <tt class="docutils literal"><span 
class="pre">core-site.xml</span></tt> file on every host in your cluster, you 
must add the following information:</p>
+<p>To the <code class="docutils literal"><span 
class="pre">core-site.xml</span></code> file on every host in your cluster, you 
must add the following information:</p>
 <div class="section" id="system-config">
 <h2>System Config<a class="headerlink" href="#system-config" title="Permalink 
to this headline">¶</a></h2>
 </div>

Modified: tajo/site/docs/devel/configuration/tajo_master_configuration.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/tajo_master_configuration.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/tajo_master_configuration.html (original)
+++ tajo/site/docs/devel/configuration/tajo_master_configuration.html Tue Oct  
6 06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -216,12 +218,12 @@
 <span class="nt">&lt;/property&gt;</span>
 </pre></div>
 </div>
-<p>Tajo rootdir must be a url form like <tt class="docutils literal"><span 
class="pre">scheme://hostname:port/path</span></tt>. The current implementaion 
only supports <tt class="docutils literal"><span 
class="pre">hdfs://</span></tt> and <tt class="docutils literal"><span 
class="pre">file://</span></tt> schemes. The default value is <tt 
class="docutils literal"><span 
class="pre">file:///tmp/tajo-${user.name}/</span></tt>.</p>
+<p>Tajo rootdir must be a url form like <code class="docutils literal"><span 
class="pre">scheme://hostname:port/path</span></code>. The current 
implementaion only supports <code class="docutils literal"><span 
class="pre">hdfs://</span></code> and <code class="docutils literal"><span 
class="pre">file://</span></code> schemes. The default value is <code 
class="docutils literal"><span 
class="pre">file:///tmp/tajo-${user.name}/</span></code>.</p>
 </div>
 <div class="section" id="tajomaster-heap-memory-size">
 <h2>TajoMaster Heap Memory Size<a class="headerlink" 
href="#tajomaster-heap-memory-size" title="Permalink to this 
headline">¶</a></h2>
 <p>The environment variable TAJO_MASTER_HEAPSIZE in conf/tajo-env.sh allow 
Tajo Master to use the specified heap memory size.</p>
-<p>If you want to adjust heap memory size, set <tt class="docutils 
literal"><span class="pre">TAJO_MASTER_HEAPSIZE</span></tt> variable in <tt 
class="docutils literal"><span class="pre">conf/tajo-env.sh</span></tt> with a 
proper size as follows:</p>
+<p>If you want to adjust heap memory size, set <code class="docutils 
literal"><span class="pre">TAJO_MASTER_HEAPSIZE</span></code> variable in <code 
class="docutils literal"><span class="pre">conf/tajo-env.sh</span></code> with 
a proper size as follows:</p>
 <div class="highlight-sh"><div class="highlight"><pre><span 
class="nv">TAJO_MASTER_HEAPSIZE</span><span class="o">=</span>2000
 </pre></div>
 </div>

Modified: tajo/site/docs/devel/configuration/worker_configuration.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/configuration/worker_configuration.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/configuration/worker_configuration.html (original)
+++ tajo/site/docs/devel/configuration/worker_configuration.html Tue Oct  6 
06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -209,8 +211,8 @@
 <h1>Worker Configuration<a class="headerlink" href="#worker-configuration" 
title="Permalink to this headline">¶</a></h1>
 <div class="section" id="worker-heap-memory-size">
 <h2>Worker Heap Memory Size<a class="headerlink" 
href="#worker-heap-memory-size" title="Permalink to this headline">¶</a></h2>
-<p>The environment variable <tt class="docutils literal"><span 
class="pre">TAJO_WORKER_HEAPSIZE</span></tt> in <tt class="docutils 
literal"><span class="pre">conf/tajo-env.sh</span></tt> allow Tajo Worker to 
use the specified heap memory size.</p>
-<p>If you want to adjust heap memory size, set <tt class="docutils 
literal"><span class="pre">TAJO_WORKER_HEAPSIZE</span></tt> variable in <tt 
class="docutils literal"><span class="pre">conf/tajo-env.sh</span></tt> with a 
proper size as follows:</p>
+<p>The environment variable <code class="docutils literal"><span 
class="pre">TAJO_WORKER_HEAPSIZE</span></code> in <code class="docutils 
literal"><span class="pre">conf/tajo-env.sh</span></code> allow Tajo Worker to 
use the specified heap memory size.</p>
+<p>If you want to adjust heap memory size, set <code class="docutils 
literal"><span class="pre">TAJO_WORKER_HEAPSIZE</span></code> variable in <code 
class="docutils literal"><span class="pre">conf/tajo-env.sh</span></code> with 
a proper size as follows:</p>
 <div class="highlight-bash"><div class="highlight"><pre><span 
class="nv">TAJO_WORKER_HEAPSIZE</span><span class="o">=</span>8000
 </pre></div>
 </div>
@@ -219,7 +221,7 @@
 <div class="section" id="temporary-data-directory">
 <h2>Temporary Data Directory<a class="headerlink" 
href="#temporary-data-directory" title="Permalink to this headline">¶</a></h2>
 <p>TajoWorker stores temporary data on local file system due to out-of-core 
algorithms. It is possible to specify one or more temporary data directories 
where temporary data will be stored.</p>
-<p><tt class="docutils literal"><span class="pre">tajo-site.xml</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-site.xml</span></code></p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.worker.tmpdir.locations<span 
class="nt">&lt;/name&gt;</span>
   <span 
class="nt">&lt;value&gt;</span>/disk1/tmpdir,/disk2/tmpdir,/disk3/tmpdir<span 
class="nt">&lt;/value&gt;</span>
@@ -236,7 +238,7 @@
 <p>Each worker can execute multiple tasks simultaneously.</p>
 <p>In Tajo, users can specify the number of cpu cores, the total size of 
memory and the number of disks for each worker. Available resources affect how 
many tasks are executed simultaneously.
 CPU cores are a unit for expressing CPU parallelism, the unit for memory is 
megabytes and the unit for disks is the number of disk</p>
-<p>In order to specify the resource capacity of each worker, you should add 
the following configs to <tt class="docutils literal"><span 
class="pre">tajo-site.xml</span></tt> :</p>
+<p>In order to specify the resource capacity of each worker, you should add 
the following configs to <code class="docutils literal"><span 
class="pre">tajo-site.xml</span></code> :</p>
 <table border="1" class="docutils">
 <colgroup>
 <col width="32%" />
@@ -282,21 +284,21 @@ CPU cores are a unit for expressing CPU
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
 <p class="last">Currently, QueryMaster requests 500MB memory and 1 cpu-core 
per task for the backward compatibility.
-If you want to give more memory, you can set to <tt class="docutils 
literal"><span class="pre">tajo.qm.resource.min.memory-mb</span></tt></p>
+If you want to give more memory, you can set to <code class="docutils 
literal"><span class="pre">tajo.qm.resource.min.memory-mb</span></code></p>
 </div>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
-<p class="last">If <tt class="docutils literal"><span 
class="pre">tajo.worker.resource.dfs-dir-aware</span></tt> is set to <tt 
class="docutils literal"><span class="pre">true</span></tt> in <tt 
class="docutils literal"><span class="pre">tajo-site.xml</span></tt>, the 
worker will aware of and use the number of HDFS datanode&#8217;s data dirs in 
the node.
-In other words, <tt class="docutils literal"><span 
class="pre">tajo.worker.resource.disks</span></tt> is ignored.</p>
+<p class="last">If <code class="docutils literal"><span 
class="pre">tajo.worker.resource.dfs-dir-aware</span></code> is set to <code 
class="docutils literal"><span class="pre">true</span></code> in <code 
class="docutils literal"><span class="pre">tajo-site.xml</span></code>, the 
worker will aware of and use the number of HDFS datanode&#8217;s data dirs in 
the node.
+In other words, <code class="docutils literal"><span 
class="pre">tajo.worker.resource.disks</span></code> is ignored.</p>
 </div>
 <div class="section" id="example">
 <h3>Example<a class="headerlink" href="#example" title="Permalink to this 
headline">¶</a></h3>
 <p>Assume that you want to give 15GB Jvm heap, 1GB memory per task, 4 disks, 
and 12 cores on each worker. The example configuration is as follows:</p>
-<p><tt class="docutils literal"><span class="pre">tajo-env.sh</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-env.sh</span></code></p>
 <div class="highlight-bash"><div class="highlight"><pre><span 
class="nb">export </span><span class="nv">TAJO_WORKER_HEAPSIZE</span><span 
class="o">=</span>15000
 </pre></div>
 </div>
-<p><tt class="docutils literal"><span class="pre">tajo-site.xml</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-site.xml</span></code></p>
 <div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;property&gt;</span>
   <span 
class="nt">&lt;name&gt;</span>tajo.worker.resource.tajo.worker.resource.cpu-cores<span
 class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>12<span class="nt">&lt;/value&gt;</span>
@@ -316,11 +318,11 @@ In other words, <tt class="docutils lite
 <ul class="simple">
 <li>Example with HDFS</li>
 </ul>
-<p><tt class="docutils literal"><span class="pre">tajo-env.sh</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-env.sh</span></code></p>
 <div class="highlight-bash"><div class="highlight"><pre><span 
class="nb">export </span><span class="nv">TAJO_WORKER_HEAPSIZE</span><span 
class="o">=</span>15000
 </pre></div>
 </div>
-<p><tt class="docutils literal"><span class="pre">tajo-site.xml</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-site.xml</span></code></p>
 <div class="highlight-xml"><div class="highlight"><pre> <span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.task.resource.min.memory-mb<span 
class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>1000<span 
class="nt">&lt;/value&gt;</span>
@@ -335,11 +337,11 @@ In other words, <tt class="docutils lite
 <ul class="simple">
 <li>Example with S3</li>
 </ul>
-<p><tt class="docutils literal"><span class="pre">tajo-env.sh</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-env.sh</span></code></p>
 <div class="highlight-bash"><div class="highlight"><pre><span 
class="nb">export </span><span class="nv">TAJO_WORKER_HEAPSIZE</span><span 
class="o">=</span>15000
 </pre></div>
 </div>
-<p><tt class="docutils literal"><span class="pre">tajo-site.xml</span></tt></p>
+<p><code class="docutils literal"><span 
class="pre">tajo-site.xml</span></code></p>
 <div class="highlight-xml"><div class="highlight"><pre> <span 
class="nt">&lt;property&gt;</span>
   <span class="nt">&lt;name&gt;</span>tajo.task.resource.min.memory-mb<span 
class="nt">&lt;/name&gt;</span>
   <span class="nt">&lt;value&gt;</span>1000<span 
class="nt">&lt;/value&gt;</span>

Modified: tajo/site/docs/devel/faq.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/faq.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/faq.html (original)
+++ tajo/site/docs/devel/faq.html Tue Oct  6 06:44:17 2015
@@ -162,6 +162,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting to 
the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/functions.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/functions.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/functions.html (original)
+++ tajo/site/docs/devel/functions.html Tue Oct  6 06:44:17 2015
@@ -163,6 +163,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting to 
the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
 </ul>
 </li>

Modified: tajo/site/docs/devel/functions/agg_func.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/devel/functions/agg_func.html?rev=1706954&r1=1706953&r2=1706954&view=diff
==============================================================================
--- tajo/site/docs/devel/functions/agg_func.html (original)
+++ tajo/site/docs/devel/functions/agg_func.html Tue Oct  6 06:44:17 2015
@@ -164,6 +164,8 @@
 <li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connecting-to-the-tajo-cluster-instance">Connecting 
to the Tajo cluster instance</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#connection-parameters">Connection Parameters</a></li>
 <li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
 </ul>
 </li>
@@ -209,7 +211,7 @@
 <h1>Aggregation Functions<a class="headerlink" href="#aggregation-functions" 
title="Permalink to this headline">¶</a></h1>
 <dl class="function">
 <dt id="avg">
-<tt class="descname">avg</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#avg" title="Permalink to this definition">¶</a></dt>
+<code class="descname">avg</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#avg" title="Permalink to this definition">¶</a></dt>
 <dd><p>Returns the average of all input values.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -225,7 +227,7 @@
 
 <dl class="function">
 <dt id="corr">
-<tt class="descname">corr</tt><big>(</big><em>expression1</em>, 
<em>expression2</em><big>)</big><a class="headerlink" href="#corr" 
title="Permalink to this definition">¶</a></dt>
+<code class="descname">corr</code><span 
class="sig-paren">(</span><em>expression1</em>, <em>expression2</em><span 
class="sig-paren">)</span><a class="headerlink" href="#corr" title="Permalink 
to this definition">¶</a></dt>
 <dd><p>Returns the coefficient of correlation between a set of number 
pairs.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -246,7 +248,7 @@
 
 <dl class="function">
 <dt id="count">
-<tt class="descname">count</tt><big>(</big><big>)</big><a class="headerlink" 
href="#count" title="Permalink to this definition">¶</a></dt>
+<code class="descname">count</code><span class="sig-paren">(</span><span 
class="sig-paren">)</span><a class="headerlink" href="#count" title="Permalink 
to this definition">¶</a></dt>
 <dd><p>Returns the number of input rows.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -260,7 +262,7 @@
 
 <dl class="function">
 <dt id="last_value">
-<tt 
class="descname">last_value</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#last_value" title="Permalink to this 
definition">¶</a></dt>
+<code class="descname">last_value</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#last_value" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Returns the last value of expression.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -276,7 +278,7 @@
 
 <dl class="function">
 <dt id="max">
-<tt class="descname">max</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#max" title="Permalink to this definition">¶</a></dt>
+<code class="descname">max</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#max" title="Permalink to this definition">¶</a></dt>
 <dd><p>Returns the maximum value of expression.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -292,7 +294,7 @@
 
 <dl class="function">
 <dt id="min">
-<tt class="descname">min</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#min" title="Permalink to this definition">¶</a></dt>
+<code class="descname">min</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#min" title="Permalink to this definition">¶</a></dt>
 <dd><p>Returns the minimum value of expression.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -308,7 +310,7 @@
 
 <dl class="function">
 <dt id="stddev_pop">
-<tt 
class="descname">stddev_pop</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#stddev_pop" title="Permalink to this 
definition">¶</a></dt>
+<code class="descname">stddev_pop</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#stddev_pop" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Returns the population standard deviation of a set of numbers.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -324,7 +326,7 @@
 
 <dl class="function">
 <dt id="stddev_samp">
-<tt 
class="descname">stddev_samp</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#stddev_samp" title="Permalink to this 
definition">¶</a></dt>
+<code class="descname">stddev_samp</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#stddev_samp" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Returns the sample standard deviation of a set of numbers.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -340,7 +342,7 @@
 
 <dl class="function">
 <dt id="sum">
-<tt class="descname">sum</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#sum" title="Permalink to this definition">¶</a></dt>
+<code class="descname">sum</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#sum" title="Permalink to this definition">¶</a></dt>
 <dd><p>Returns the sum of a set of numbers.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -356,7 +358,7 @@
 
 <dl class="function">
 <dt id="var_pop">
-<tt class="descname">var_pop</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#var_pop" title="Permalink to this 
definition">¶</a></dt>
+<code class="descname">var_pop</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#var_pop" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Returns the variance of a set of numbers.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
@@ -372,7 +374,7 @@
 
 <dl class="function">
 <dt id="var_samp">
-<tt 
class="descname">var_samp</tt><big>(</big><em>expression</em><big>)</big><a 
class="headerlink" href="#var_samp" title="Permalink to this 
definition">¶</a></dt>
+<code class="descname">var_samp</code><span 
class="sig-paren">(</span><em>expression</em><span class="sig-paren">)</span><a 
class="headerlink" href="#var_samp" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Returns the unbiased sample variance of a set of numbers.</p>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />


Reply via email to