Author: blrunner
Date: Fri Apr 17 04:42:16 2015
New Revision: 1674206
URL: http://svn.apache.org/r1674206
Log:
Apply current trunk documentation
Modified:
tajo/site/docs/current/_sources/backup_and_restore/catalog.txt
tajo/site/docs/current/_sources/configuration/catalog_configuration.txt
tajo/site/docs/current/_sources/functions.txt
tajo/site/docs/current/_sources/getting_started.txt
tajo/site/docs/current/_sources/index.txt
tajo/site/docs/current/_sources/jdbc_driver.txt
tajo/site/docs/current/_sources/sql_language/ddl.txt
tajo/site/docs/current/_sources/table_management/file_formats.txt
tajo/site/docs/current/_sources/table_management/table_overview.txt
tajo/site/docs/current/_static/basic.css
tajo/site/docs/current/_static/doctools.js
tajo/site/docs/current/_static/down-pressed.png
tajo/site/docs/current/_static/down.png
tajo/site/docs/current/_static/file.png
tajo/site/docs/current/_static/jquery.js
tajo/site/docs/current/_static/minus.png
tajo/site/docs/current/_static/plus.png
tajo/site/docs/current/_static/up-pressed.png
tajo/site/docs/current/_static/up.png
tajo/site/docs/current/_static/websupport.js
tajo/site/docs/current/backup_and_restore.html
tajo/site/docs/current/backup_and_restore/catalog.html
tajo/site/docs/current/configuration.html
tajo/site/docs/current/configuration/catalog-site-xml.html
tajo/site/docs/current/configuration/catalog_configuration.html
tajo/site/docs/current/configuration/cluster_setup.html
tajo/site/docs/current/configuration/ha_configuration.html
tajo/site/docs/current/configuration/preliminary.html
tajo/site/docs/current/configuration/service_config_defaults.html
tajo/site/docs/current/configuration/tajo-site-xml.html
tajo/site/docs/current/configuration/tajo_master_configuration.html
tajo/site/docs/current/configuration/worker_configuration.html
tajo/site/docs/current/faq.html
tajo/site/docs/current/functions.html
tajo/site/docs/current/functions/datetime_func_and_operators.html
tajo/site/docs/current/functions/math_func_and_operators.html
tajo/site/docs/current/functions/network_func_and_operators.html
tajo/site/docs/current/functions/string_func_and_operators.html
tajo/site/docs/current/genindex.html
tajo/site/docs/current/getting_started.html
tajo/site/docs/current/hbase_integration.html
tajo/site/docs/current/index.html
tajo/site/docs/current/index/future_work.html
tajo/site/docs/current/index/how_to_use.html
tajo/site/docs/current/index/types.html
tajo/site/docs/current/index_overview.html
tajo/site/docs/current/introduction.html
tajo/site/docs/current/jdbc_driver.html
tajo/site/docs/current/objects.inv
tajo/site/docs/current/partitioning/column_partitioning.html
tajo/site/docs/current/partitioning/hash_partitioning.html
tajo/site/docs/current/partitioning/intro_to_partitioning.html
tajo/site/docs/current/partitioning/range_partitioning.html
tajo/site/docs/current/search.html
tajo/site/docs/current/searchindex.js
tajo/site/docs/current/sql_language.html
tajo/site/docs/current/sql_language/data_model.html
tajo/site/docs/current/sql_language/ddl.html
tajo/site/docs/current/sql_language/insert.html
tajo/site/docs/current/sql_language/predicates.html
tajo/site/docs/current/sql_language/queries.html
tajo/site/docs/current/sql_language/sql_expression.html
tajo/site/docs/current/table_management.html
tajo/site/docs/current/table_management/compression.html
tajo/site/docs/current/table_management/file_formats.html
tajo/site/docs/current/table_management/parquet.html
tajo/site/docs/current/table_management/rcfile.html
tajo/site/docs/current/table_management/sequencefile.html
tajo/site/docs/current/table_management/table_overview.html
tajo/site/docs/current/table_partitioning.html
tajo/site/docs/current/tajo_client_api.html
tajo/site/docs/current/time_zone.html
tajo/site/docs/current/tsql.html
tajo/site/docs/current/tsql/admin_command.html
tajo/site/docs/current/tsql/background_command.html
tajo/site/docs/current/tsql/dfs_command.html
tajo/site/docs/current/tsql/execute_file.html
tajo/site/docs/current/tsql/intro.html
tajo/site/docs/current/tsql/meta_command.html
tajo/site/docs/current/tsql/single_command.html
tajo/site/docs/current/tsql/variables.html
Modified: tajo/site/docs/current/_sources/backup_and_restore/catalog.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/backup_and_restore/catalog.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/backup_and_restore/catalog.txt (original)
+++ tajo/site/docs/current/_sources/backup_and_restore/catalog.txt Fri Apr 17
04:42:16 2015
@@ -28,7 +28,7 @@ For example, if you want to backup a tab
-- Name: customer; Type: TABLE; Storage: CSV
-- Path: file:/home/hyunsik/tpch/customer
--
- CREATE EXTERNAL TABLE customer (c_custkey INT8, c_name TEXT, c_address TEXT,
c_nationkey INT8, c_phone TEXT, c_acctbal FLOAT8, c_mktsegment TEXT, c_comment
TEXT) USING CSV LOCATION 'file:/home/hyunsik/tpch/customer';
+ CREATE EXTERNAL TABLE customer (c_custkey INT8, c_name TEXT, c_address TEXT,
c_nationkey INT8, c_phone TEXT, c_acctbal FLOAT8, c_mktsegment TEXT, c_comment
TEXT) USING TEXT LOCATION 'file:/home/hyunsik/tpch/customer';
If you want to restore the catalog from the SQL dump file, please type the
below command: ::
Modified:
tajo/site/docs/current/_sources/configuration/catalog_configuration.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/configuration/catalog_configuration.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/configuration/catalog_configuration.txt
(original)
+++ tajo/site/docs/current/_sources/configuration/catalog_configuration.txt Fri
Apr 17 04:42:16 2015
@@ -7,21 +7,21 @@ If you want to customize the catalog ser
* 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).
* 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:
-+-----------------------------------+------------------------------------------------+
-| Driver Class | Descriptions
|
-+===================================+================================================+
-| tajo.catalog.store.DerbyStore | this storage class uses Apache Derby.
|
-+-----------------------------------+------------------------------------------------+
-| tajo.catalog.store.MySQLStore | this storage class uses MySQL.
|
-+-----------------------------------+------------------------------------------------+
-| tajo.catalog.store.MariaDBStore | this storage class uses MariaDB.
|
-+-----------------------------------+------------------------------------------------+
-| tajo.catalog.store.MemStore | this is the in-memory storage. It is
only used |
-| | in unit tests to shorten the duration of
unit |
-| | tests.
|
-+-----------------------------------+------------------------------------------------+
-| tajo.catalog.store.HCatalogStore | this storage class uses HiveMetaStore.
|
-+-----------------------------------+------------------------------------------------+
++--------------------------------------+------------------------------------------------+
+| Driver Class | Descriptions
|
++======================================+================================================+
+| tajo.catalog.store.DerbyStore | this storage class uses Apache Derby.
|
++--------------------------------------+------------------------------------------------+
+| tajo.catalog.store.MySQLStore | this storage class uses MySQL.
|
++--------------------------------------+------------------------------------------------+
+| tajo.catalog.store.MariaDBStore | this storage class uses MariaDB.
|
++--------------------------------------+------------------------------------------------+
+| tajo.catalog.store.MemStore | this is the in-memory storage. It is
only used |
+| | in unit tests to shorten the duration
of unit |
+| | tests.
|
++--------------------------------------+------------------------------------------------+
+| tajo.catalog.store.HiveCatalogStore | this storage class uses
HiveMetaStore. |
++--------------------------------------+------------------------------------------------+
=========================
Derby Configuration
@@ -148,21 +148,19 @@ Finally, you must add the following conf
</property>
==================================
-HCatalogStore Configuration
+HiveCatalogStore Configuration
==================================
-Tajo support HCatalogStore to integrate with hive. If you want to use
HCatalogStore, you just do as follows.
+Tajo support HiveCatalogStore to integrate with hive. If you want to use
HiveCatalogStore, you just do as follows.
First, you must compile source code and get a binary archive as follows:
.. code-block:: sh
$ git clone https://git-wip-us.apache.org/repos/asf/tajo.git tajo
- $ mvn clean install -DskipTests -Pdist -Dtar -Phcatalog-0.1x.0
+ $ mvn clean install -DskipTests -Pdist -Dtar
$ ls tajo-dist/target/tajo-x.y.z-SNAPSHOT.tar.gz
-Currently Tajo supports hive 0.12.0, hive 0.13.0, hive 0.13.1. If you enables
HCatalogStore, you set the maven profile as ``-Phcatalog-0.12.0``.
-
Second, you must set your hive home directory to HIVE_HOME variable in
``conf/tajo-env.sh`` with it as follows:
.. code-block:: sh
@@ -182,5 +180,5 @@ Lastly, you should add the following con
<property>
<name>tajo.catalog.store.class</name>
- <value>org.apache.tajo.catalog.store.HCatalogStore</value>
+ <value>org.apache.tajo.catalog.store.HiveCatalogStore</value>
</property>
Modified: tajo/site/docs/current/_sources/functions.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/functions.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/functions.txt (original)
+++ tajo/site/docs/current/_sources/functions.txt Fri Apr 17 04:42:16 2015
@@ -8,4 +8,5 @@ Functions
functions/math_func_and_operators
functions/string_func_and_operators
functions/datetime_func_and_operators
- functions/network_func_and_operators
\ No newline at end of file
+ functions/network_func_and_operators
+ functions/json_func
\ No newline at end of file
Modified: tajo/site/docs/current/_sources/getting_started.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/getting_started.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/getting_started.txt (original)
+++ tajo/site/docs/current/_sources/getting_started.txt Fri Apr 17 04:42:16 2015
@@ -8,7 +8,7 @@ In this section, we explain setup of a s
Prerequisites
======================
- * Hadoop 2.3.0 or higher (up to 2.5.1)
+ * Hadoop 2.3.0 or higher (up to 2.6.0)
* Java 1.6 or 1.7
* Protocol buffer 2.5.0
@@ -135,7 +135,7 @@ Here, we assume the schema as (int, text
name text,
score float,
type text)
- using csv with ('text.delimiter'='|') location 'file:/home/x/table1';
+ using text with ('text.delimiter'='|') location 'file:/home/x/table1';
To load an external table, you need to use âcreate external tableâ
statement.
In the location clause, you should use the absolute directory path with an
appropriate scheme.
Modified: tajo/site/docs/current/_sources/index.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/index.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/index.txt (original)
+++ tajo/site/docs/current/_sources/index.txt Fri Apr 17 04:42:16 2015
@@ -15,9 +15,14 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
-Apache Tajo⢠0.10.0 - User documentation
+Apache Tajo⢠(dev) - User documentation
===========================================================================
+.. warning::
+
+ This documentation is based on the development branch (master).
+ As a result, some contents can be mismatched to the actual implementation.
+
Table of Contents:
.. toctree::
@@ -34,8 +39,9 @@ Table of Contents:
table_partitioning
index_overview
backup_and_restore
- hcatalog_integration
+ hive_integration
hbase_integration
+ swift_integration
jdbc_driver
tajo_client_api
faq
Modified: tajo/site/docs/current/_sources/jdbc_driver.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/jdbc_driver.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/jdbc_driver.txt (original)
+++ tajo/site/docs/current/_sources/jdbc_driver.txt Fri Apr 17 04:42:16 2015
@@ -9,11 +9,15 @@ In this section, we explain how to get J
How to get JDBC driver
=======================
+Direct Download
+--------------------------------
+
+You can directly download a JDBC driver jar file (``tajo-jdbc-x.y.z.jar``)
from `Downloads <http://tajo.apache.org/downloads.html>`_.
+
From Binary Distribution
--------------------------------
-Tajo binary distribution provides JDBC jar file and its dependent JAR files.
-Those files are located in ``${TAJO_HOME}/share/jdbc-dist/``.
+Tajo binary distribution provides JDBC jar file located in
``${TAJO_HOME}/share/jdbc-dist/tajo-jdbc-x.y.z.jar``.
From Building Source Code
@@ -25,25 +29,17 @@ You can build Tajo from the source code
$ tar xzvf tajo-x.y.z-src.tar.gz
$ mvn clean package -DskipTests -Pdist -Dtar
- $ ls -l tajo-dist/target/tajo-x.y.z/share/jdbc-dist
+ $ ls -l tajo-dist/target/tajo-x.y.z/share/jdbc-dist/tajo-jdbc-x.y.z.jar
Setting the CLASSPATH
=======================
-In order to use the JDBC driver, you should set the jar files included in
-``tajo-dist/target/tajo-x.y.z/share/jdbc-dist`` to your ``CLASSPATH``.
-In addition, you should add hadoop clsspath into your ``CLASSPATH``.
-So, ``CLASSPATH`` will be set as follows:
+In order to use the JDBC driver, you should add ``tajo-jdbc-x.y.z.jar`` in
your ``CLASSPATH``.
.. code-block:: bash
-
CLASSPATH=path/to/tajo-jdbc/*:path/to/tajo-site.xml:path/to/core-site.xml:path/to/hdfs-site.xml
-
-.. note::
-
- You must add the locations which include Tajo config files (i.e.,
``tajo-site.xml``) and
- Hadoop config files (i.e., ``core-site.xml`` and ``hdfs-site.xml``) to your
``CLASSPATH``.
+ CLASSPATH=path/to/tajo-jdbc-x.y.z.jar:$CLASSPATH
An Example JDBC Client
@@ -99,15 +95,3 @@ The following shows an example of JDBC C
}
}
-
-FAQ
-===========================================
-
-java.nio.channels.UnresolvedAddressException
---------------------------------------------
-
-When retriving the final result, Tajo JDBC Driver tries to access HDFS data
nodes.
-So, the network access between JDBC client and HDFS data nodes must be
available.
-In many cases, a HDFS cluster is built in a private network which use private
hostnames.
-So, the host names must be shared with the JDBC client side.
-
Modified: tajo/site/docs/current/_sources/sql_language/ddl.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/sql_language/ddl.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/sql_language/ddl.txt (original)
+++ tajo/site/docs/current/_sources/sql_language/ddl.txt Fri Apr 17 04:42:16
2015
@@ -56,7 +56,7 @@ If you want to add an external table tha
...
L_COMMENT text)
- USING csv WITH
('text.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec')
+ USING TEXT WITH
('text.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec')
LOCATION 'hdfs://localhost:9010/tajo/warehouse/lineitem_100_snappy';
`compression.codec` parameter can have one of the following compression codecs:
Modified: tajo/site/docs/current/_sources/table_management/file_formats.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/table_management/file_formats.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/table_management/file_formats.txt (original)
+++ tajo/site/docs/current/_sources/table_management/file_formats.txt Fri Apr
17 04:42:16 2015
@@ -7,7 +7,7 @@ Currently, Tajo provides four file forma
.. toctree::
:maxdepth: 1
- csv
+ text
rcfile
parquet
sequencefile
\ No newline at end of file
Modified: tajo/site/docs/current/_sources/table_management/table_overview.txt
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_sources/table_management/table_overview.txt?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_sources/table_management/table_overview.txt
(original)
+++ tajo/site/docs/current/_sources/table_management/table_overview.txt Fri Apr
17 04:42:16 2015
@@ -29,9 +29,9 @@ The following example is to set a custom
name text,
score float,
type text
- ) USING CSV WITH('text.delimiter'='\u0001',
- 'text.null'='\\N',
-
'compression.codec'='org.apache.hadoop.io.compress.SnappyCodec');
+ ) USING TEXT WITH('text.delimiter'='\u0001',
+ 'text.null'='\\N',
+
'compression.codec'='org.apache.hadoop.io.compress.SnappyCodec');
Each physical table layout has its own specialized properties. They will be
addressed in :doc:`/table_management/file_formats`.
Modified: tajo/site/docs/current/_static/basic.css
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/basic.css?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_static/basic.css (original)
+++ tajo/site/docs/current/_static/basic.css Fri Apr 17 04:42:16 2015
@@ -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;
}
@@ -406,6 +409,10 @@ dl.glossary dt {
font-size: 1.3em;
}
+.sig-paren {
+ font-size: larger;
+}
+
.versionmodified {
font-style: italic;
}
@@ -471,22 +478,35 @@ 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-filename code {
+ background-color: transparent;
+}
+
+div.code-block-caption + div > div.highlight > pre {
+ margin-top: 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/current/_static/doctools.js
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/doctools.js?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_static/doctools.js (original)
+++ tajo/site/docs/current/_static/doctools.js Fri Apr 17 04:42:16 2015
@@ -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,6 +176,7 @@ var Documentation = {
/**
* workaround a firefox stupidity
+ * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
*/
fixFirefoxAnchorBug : function() {
if (document.location.hash && $.browser.mozilla)
Modified: tajo/site/docs/current/_static/down-pressed.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/down-pressed.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/down.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/down.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/file.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/file.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/jquery.js
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/jquery.js?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_static/jquery.js (original)
+++ tajo/site/docs/current/_static/jquery.js Fri Apr 17 04:42:16 2015
@@ -1,2 +1,4 @@
-/*! jQuery v1.8.3 jquery.com | jquery.org/license */
[... 7 lines stripped ...]
Modified: tajo/site/docs/current/_static/minus.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/minus.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/plus.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/plus.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/up-pressed.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/up-pressed.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/up.png
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/up.png?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
Binary files - no diff available.
Modified: tajo/site/docs/current/_static/websupport.js
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/_static/websupport.js?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/_static/websupport.js (original)
+++ tajo/site/docs/current/_static/websupport.js Fri Apr 17 04:42:16 2015
@@ -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/current/backup_and_restore.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/backup_and_restore.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/backup_and_restore.html (original)
+++ tajo/site/docs/current/backup_and_restore.html Fri Apr 17 04:42:16 2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Backup and Restore — Apache Tajo 0.10.0 documentation</title>
+ <title>Backup and Restore — Apache Tajo 0.11.0 documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="index.html"/>
<link rel="next" title="Backup and Restore Catalog"
href="backup_and_restore/catalog.html"/>
<link rel="prev" title="Future Works" href="index/future_work.html"/>
@@ -112,6 +112,7 @@
<li class="toctree-l2"><a class="reference internal"
href="functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="table_management.html">Table Management</a><ul>
@@ -137,7 +138,7 @@
<li class="toctree-l2"><a class="reference internal"
href="backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -145,11 +146,17 @@
<li class="toctree-l2"><a class="reference internal"
href="hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#swift-configuration">Swift configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="tajo_client_api.html">Tajo Client API</a></li>
@@ -235,7 +242,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/backup_and_restore/catalog.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/backup_and_restore/catalog.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/backup_and_restore/catalog.html (original)
+++ tajo/site/docs/current/backup_and_restore/catalog.html Fri Apr 17 04:42:16
2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Backup and Restore Catalog — Apache Tajo 0.10.0
documentation</title>
+ <title>Backup and Restore Catalog — Apache Tajo 0.11.0
documentation</title>
@@ -28,9 +28,9 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="../index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="../index.html"/>
<link rel="up" title="Backup and Restore"
href="../backup_and_restore.html"/>
- <link rel="next" title="HCatalog Integration"
href="../hcatalog_integration.html"/>
+ <link rel="next" title="Hive Integration"
href="../hive_integration.html"/>
<link rel="prev" title="Backup and Restore"
href="../backup_and_restore.html"/>
@@ -113,6 +113,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
@@ -138,7 +139,7 @@
<li class="toctree-l2 current"><a class="current reference internal"
href="">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="../hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -146,11 +147,17 @@
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="../swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#swift-configuration">Swift
configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC
Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
@@ -216,7 +223,7 @@ $ cat table_backup.sql
-- Name: customer; Type: TABLE; Storage: CSV
-- Path: file:/home/hyunsik/tpch/customer
--
-CREATE EXTERNAL TABLE customer (c_custkey INT8, c_name TEXT, c_address TEXT,
c_nationkey INT8, c_phone TEXT, c_acctbal FLOAT8, c_mktsegment TEXT, c_comment
TEXT) USING CSV LOCATION 'file:/home/hyunsik/tpch/customer';
+CREATE EXTERNAL TABLE customer (c_custkey INT8, c_name TEXT, c_address TEXT,
c_nationkey INT8, c_phone TEXT, c_acctbal FLOAT8, c_mktsegment TEXT, c_comment
TEXT) USING TEXT LOCATION 'file:/home/hyunsik/tpch/customer';
</pre></div>
</div>
<p>If you want to restore the catalog from the SQL dump file, please type the
below command:</p>
@@ -242,7 +249,7 @@ CREATE EXTERNAL TABLE customer (c_custke
<div class="rst-footer-buttons" role="navigation" aria-label="footer
navigation">
- <a href="../hcatalog_integration.html" class="btn btn-neutral
float-right" title="HCatalog Integration"/>Next <span class="fa
fa-arrow-circle-right"></span></a>
+ <a href="../hive_integration.html" class="btn btn-neutral float-right"
title="Hive Integration"/>Next <span class="fa
fa-arrow-circle-right"></span></a>
<a href="../backup_and_restore.html" class="btn btn-neutral"
title="Backup and Restore"><span class="fa fa-arrow-circle-left"></span>
Previous</a>
@@ -274,7 +281,7 @@ CREATE EXTERNAL TABLE customer (c_custke
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/configuration.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/configuration.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/configuration.html (original)
+++ tajo/site/docs/current/configuration.html Fri Apr 17 04:42:16 2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Configuration — Apache Tajo 0.10.0 documentation</title>
+ <title>Configuration — Apache Tajo 0.11.0 documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="index.html"/>
<link rel="next" title="Preliminary"
href="configuration/preliminary.html"/>
<link rel="prev" title="Getting Started" href="getting_started.html"/>
@@ -112,6 +112,7 @@
<li class="toctree-l2"><a class="reference internal"
href="functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="table_management.html">Table Management</a><ul>
@@ -137,7 +138,7 @@
<li class="toctree-l2"><a class="reference internal"
href="backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -145,11 +146,17 @@
<li class="toctree-l2"><a class="reference internal"
href="hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#swift-configuration">Swift configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="tajo_client_api.html">Tajo Client API</a></li>
@@ -243,7 +250,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/configuration/catalog-site-xml.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/configuration/catalog-site-xml.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/configuration/catalog-site-xml.html (original)
+++ tajo/site/docs/current/configuration/catalog-site-xml.html Fri Apr 17
04:42:16 2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>The catalog-site.xml File — Apache Tajo 0.10.0
documentation</title>
+ <title>The catalog-site.xml File — Apache Tajo 0.11.0
documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="../index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="../index.html"/>
<link rel="up" title="Configuration" href="../configuration.html"/>
<link rel="next" title="Tajo Shell (TSQL)" href="../tsql.html"/>
<link rel="prev" title="The tajo-site.xml File"
href="tajo-site-xml.html"/>
@@ -113,6 +113,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
@@ -138,7 +139,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="../hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -146,11 +147,17 @@
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="../swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#swift-configuration">Swift
configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC
Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
@@ -233,7 +240,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/configuration/catalog_configuration.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/configuration/catalog_configuration.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/configuration/catalog_configuration.html (original)
+++ tajo/site/docs/current/configuration/catalog_configuration.html Fri Apr 17
04:42:16 2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Catalog Configuration — Apache Tajo 0.10.0 documentation</title>
+ <title>Catalog Configuration — Apache Tajo 0.11.0 documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="../index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="../index.html"/>
<link rel="up" title="Configuration" href="../configuration.html"/>
<link rel="next" title="High Availability for TajoMaster"
href="ha_configuration.html"/>
<link rel="prev" title="Worker Configuration"
href="worker_configuration.html"/>
@@ -113,6 +113,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
@@ -138,7 +139,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="../hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -146,11 +147,17 @@
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="../swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#swift-configuration">Swift
configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC
Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
@@ -193,15 +200,15 @@
<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>
</ul>
<table border="1" class="docutils">
<colgroup>
-<col width="42%" />
-<col width="58%" />
+<col width="44%" />
+<col width="56%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Driver Class</th>
@@ -223,7 +230,7 @@
in unit tests to shorten the duration of unit
tests.</td>
</tr>
-<tr class="row-even"><td>tajo.catalog.store.HCatalogStore</td>
+<tr class="row-even"><td>tajo.catalog.store.HiveCatalogStore</td>
<td>this storage class uses HiveMetaStore.</td>
</tr>
</tbody>
@@ -231,7 +238,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><property>
<name>tajo.catalog.store.class</name>
<value>org.apache.tajo.catalog.store.DerbyStore</value>
@@ -252,7 +259,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">
@@ -270,7 +277,7 @@ mysql> 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
@@ -284,7 +291,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><property>
<name>tajo.catalog.connection.id</name>
@@ -337,28 +344,27 @@ Query OK, <span class="m">0</span> rows
</pre></div>
</div>
</div>
-<div class="section" id="hcatalogstore-configuration">
-<h2>HCatalogStore Configuration<a class="headerlink"
href="#hcatalogstore-configuration" title="Permalink to this
headline">¶</a></h2>
-<p>Tajo support HCatalogStore to integrate with hive. If you want to use
HCatalogStore, you just do as follows.</p>
+<div class="section" id="hivecatalogstore-configuration">
+<h2>HiveCatalogStore Configuration<a class="headerlink"
href="#hivecatalogstore-configuration" title="Permalink to this
headline">¶</a></h2>
+<p>Tajo support HiveCatalogStore to integrate with hive. If you want to use
HiveCatalogStore, you just do as follows.</p>
<p>First, you must compile source code and get a binary archive as follows:</p>
<div class="highlight-sh"><div class="highlight"><pre><span class="nv">$
</span>git clone https://git-wip-us.apache.org/repos/asf/tajo.git tajo
-<span class="nv">$ </span>mvn clean install -DskipTests -Pdist -Dtar
-Phcatalog-0.1x.0
+<span class="nv">$ </span>mvn clean install -DskipTests -Pdist -Dtar
<span class="nv">$ </span>ls tajo-dist/target/tajo-x.y.z-SNAPSHOT.tar.gz
</pre></div>
</div>
-<p>Currently Tajo supports hive 0.12.0, hive 0.13.0, hive 0.13.1. If you
enables HCatalogStore, you set the maven profile as <tt class="docutils
literal"><span class="pre">-Phcatalog-0.12.0</span></tt>.</p>
-<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"><property></span>
<span class="nt"><name></span>tajo.catalog.store.class<span
class="nt"></name></span>
- <span
class="nt"><value></span>org.apache.tajo.catalog.store.HCatalogStore<span
class="nt"></value></span>
+ <span
class="nt"><value></span>org.apache.tajo.catalog.store.HiveCatalogStore<span
class="nt"></value></span>
<span class="nt"></property></span>
</pre></div>
</div>
@@ -403,7 +409,7 @@ Query OK, <span class="m">0</span> rows
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/configuration/cluster_setup.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/configuration/cluster_setup.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/configuration/cluster_setup.html (original)
+++ tajo/site/docs/current/configuration/cluster_setup.html Fri Apr 17 04:42:16
2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Cluster Setup — Apache Tajo 0.10.0 documentation</title>
+ <title>Cluster Setup — Apache Tajo 0.11.0 documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="../index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="../index.html"/>
<link rel="up" title="Configuration" href="../configuration.html"/>
<link rel="next" title="Tajo Master Configuration"
href="tajo_master_configuration.html"/>
<link rel="prev" title="Preliminary" href="preliminary.html"/>
@@ -113,6 +113,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
@@ -138,7 +139,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="../hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -146,11 +147,17 @@
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="../swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#swift-configuration">Swift
configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC
Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
@@ -229,8 +236,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 >
conf/workers
@@ -253,7 +260,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>
@@ -308,7 +315,7 @@ $ $HADOOP_HOME/bin/hadoop fs -chmod g+w
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/configuration/ha_configuration.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/configuration/ha_configuration.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/configuration/ha_configuration.html (original)
+++ tajo/site/docs/current/configuration/ha_configuration.html Fri Apr 17
04:42:16 2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>High Availability for TajoMaster — Apache Tajo 0.10.0
documentation</title>
+ <title>High Availability for TajoMaster — Apache Tajo 0.11.0
documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="../index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="../index.html"/>
<link rel="up" title="Configuration" href="../configuration.html"/>
<link rel="next" title="Cluster Service Configuration Defaults"
href="service_config_defaults.html"/>
<link rel="prev" title="Catalog Configuration"
href="catalog_configuration.html"/>
@@ -113,6 +113,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
@@ -138,7 +139,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="../hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -146,11 +147,17 @@
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="../swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#swift-configuration">Swift
configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC
Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
@@ -208,14 +215,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"><property></span>
<span class="nt"><name></span>tajo.master.ha.enable<span
class="nt"></name></span>
<span class="nt"><value></span>true<span
class="nt"></value></span>
<span class="nt"></property></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"><property></span>
<span class="nt"><name></span>tajo.master.ha.monitor.interval<span
class="nt"></name></span>
<span class="nt"><value></span>monitor interval<span
class="nt"></value></span>
@@ -225,7 +232,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 >
conf/masters
host1.domain.com
@@ -238,7 +245,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"><property></span>
<span class="nt"><name></span>tajo.master.umbilical-rpc.address<span
class="nt"></name></span>
<span class="nt"><value></span>localhost:36001<span
class="nt"></value></span>
@@ -270,12 +277,12 @@ host2.domain.com
<span class="nt"></property></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>
@@ -286,19 +293,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 <target
tajo.master.umbilical-rpc.address>
</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 <target
tajo.master.umbilical-rpc.address>
</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 <target
tajo.master.umbilical-rpc.address>
</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>
@@ -310,7 +317,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 <pid of TajoMaster> 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’t find already query history.
Because TajoMaster stores query history on memory. So, the other master
can’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 <pid of TajoMaster> 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’t find already query history.
Because TajoMaster stores query history on memory. So, the other master
can’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>
@@ -356,7 +363,7 @@ host2.domain.com
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Modified: tajo/site/docs/current/configuration/preliminary.html
URL:
http://svn.apache.org/viewvc/tajo/site/docs/current/configuration/preliminary.html?rev=1674206&r1=1674205&r2=1674206&view=diff
==============================================================================
--- tajo/site/docs/current/configuration/preliminary.html (original)
+++ tajo/site/docs/current/configuration/preliminary.html Fri Apr 17 04:42:16
2015
@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Preliminary — Apache Tajo 0.10.0 documentation</title>
+ <title>Preliminary — Apache Tajo 0.11.0 documentation</title>
@@ -28,7 +28,7 @@
- <link rel="top" title="Apache Tajo 0.10.0 documentation"
href="../index.html"/>
+ <link rel="top" title="Apache Tajo 0.11.0 documentation"
href="../index.html"/>
<link rel="up" title="Configuration" href="../configuration.html"/>
<link rel="next" title="Cluster Setup" href="cluster_setup.html"/>
<link rel="prev" title="Configuration" href="../configuration.html"/>
@@ -113,6 +113,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../functions/string_func_and_operators.html">String Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/datetime_func_and_operators.html">DateTime Functions and
Operators</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../functions/network_func_and_operators.html">Network Functions and
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../functions/json_func.html">JSON Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../table_management.html">Table Management</a><ul>
@@ -138,7 +139,7 @@
<li class="toctree-l2"><a class="reference internal"
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
</ul>
</li>
-<li class="toctree-l1"><a class="reference internal"
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="../hive_integration.html">Hive Integration</a></li>
<li class="toctree-l1"><a class="reference internal"
href="../hbase_integration.html">HBase Integration</a><ul>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#create-table">CREATE TABLE</a></li>
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#drop-table">DROP TABLE</a></li>
@@ -146,11 +147,17 @@
<li class="toctree-l2"><a class="reference internal"
href="../hbase_integration.html#usage">Usage</a></li>
</ul>
</li>
+<li class="toctree-l1"><a class="reference internal"
href="../swift_integration.html">OpenStack Swift Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#swift-configuration">Swift
configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#hadoop-configurations">Hadoop
configurations</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#tajo-configuration">Tajo configuration</a></li>
+<li class="toctree-l2"><a class="reference internal"
href="../swift_integration.html#querying-on-swift">Querying on Swift</a></li>
+</ul>
+</li>
<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#an-example-jdbc-client">An Example JDBC
Client</a></li>
-<li class="toctree-l2"><a class="reference internal"
href="../jdbc_driver.html#faq">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal"
href="../tajo_client_api.html">Tajo Client API</a></li>
@@ -200,7 +207,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"><property></span>
<span class="nt"><name></span>a.b.c<span
class="nt"></name></span>
<span class="nt"><value></span>123<span
class="nt"></value></span>
@@ -208,7 +215,7 @@
</pre></div>
</div>
<p>Tajo has a variety of internal configs. If you don’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>
@@ -261,7 +268,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
- VERSION:'0.10.0',
+ VERSION:'0.11.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true